[systemd-devel] systemd login toggle question

Richard Maw richard.maw at codethink.co.uk
Tue Oct 13 06:45:57 PDT 2015


On Tue, Oct 13, 2015 at 02:14:04PM +0100, luxInteg wrote:
> Greetings
> 
> I have a computer running blfs linux//systemd-224/kde
> 
> I would like to know  if there are systemd service files that allow a choice 
> of logins
> ( i.e command promt login or graphical login )
> 
> In other words executing either
> 
> systemctl start systemd-logind.service
> ( or somesuch for login to command prompt )
> 
> OR
> systemctl start kdm.service
> ( or somesuch  for X11/kde login )
> 
> so the user can toggle between the two
> 
> thanks in advance.

Traditionally that's a runlevel thing,
so the systemd equivalent would be different targets.

kdm.service should be brought in by graphical.target via display-manager.target,
but multi-user.target should also be runnable.

Graphical is the default target for desktops,
but you can either change the system config with `systemctl set-default multi-user.target`,
or change it on the kernel command-line args with `systemd.unit=multi-user.target`,
if you want to make it a boot-time option.


More information about the systemd-devel mailing list