Web lists-archives.com

Re: systemd WantedBy for X login




Aidan Gauland composed on 2019-05-19 19:46 (UTC+1200):

> Sven Joachim wrote:

>> have to make sure that your X login is actually reached via
>> graphical.target.

> OK, good.  Is there a way to test this?

	systemctl get-default

should display the name of the default and

	ps -A | grep lightdm
or
	systemctl status lightdm

whether lightdm is running.

> I just found this tidbit on the Arch wiki suggesting that the only valid
> target for user services is default.target:

> “When a systemd user instance starts, it brings up the target
> default.target”

	systemctl set-default graphical.target

would switch default.target shown by get-default from multi-user.target to
graphical.target.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/