Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] systemctl stop graphical.target
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 29 Nov 2017 14:57:50 +0100 (CET)
  • Message-id: <alpine.LSU.2.21.1711291453470.31979@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tuesday, 2017-11-28 at 18:41 -0500, Felix Miata wrote:
Dave Howorth composed on 2017-11-28 22:51 (UTC):

I'm still curious why systemctl start graphical.target works then?
Have you tried it yourself? I haven't. My guess is that it might work only if a
"lower level" target was current, such as multi-user.

Personally, I'm with carlos, if he's correct. Just remember init 3 and
init 5!

AFAICT, neither init nor telinit is technically an alias:

I didn't say it was :-)

# which telinit
/sbin/telinit
# which init
/sbin/init
# ls -gG /sbin/*init
lrwxrwxrwx 1 26 Sep 6 03:29 /sbin/init -> ../usr/lib/systemd/systemd
lrwxrwxrwx 1 18 Sep 6 03:29 /sbin/telinit -> /usr/bin/systemctl
# ls -gG /usr/bin/systemctl /usr/lib/systemd/systemd
-rwxr-xr-x 1 696304 Sep 3 06:23 /usr/bin/systemctl
-rwxr-xr-x 1 1589144 Sep 3 06:23 /usr/lib/systemd/systemd

<https://www.freedesktop.org/software/systemd/man/systemd.html> says:
"...init and telinit are mostly equivalent when invoked from normal login
sessions."

I've had problems with incomplete switching via the *init systemd aliases, so
most often I boot to multi-user and run startx, thus avoiding all the above.

The problem with startx is that it doesn't set up "the seat". Ie, you do not get automatically permissions to mount usb sticks, cdroms, use the sound...

It gets little maintenance, if any. I use startx only to find out about video problems.

- -- Cheers,
Carlos E. R.
(from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloevN4ACgkQtTMYHG2NR9ViHwCfYE7cSDTDGJodGn815n+6hSqr
+MEAnis/1kEPiCxVtf094qvIGf2FfP88
=hHbh
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >