1

I'd like my Debian 10 box with vanilla GNOME to prompt for login at a tty/text terminal instead of having the gdm GUI pop up by default. Is there a way to change some config such that it works like this, and then the GNOME interface can be started manually with e.g. startx?

2
  • 3
    Well I think you want to use multi-user.target target. Systemd uses targets where Sysv / init system uses runlevels. So basically what you need to do is. 1) Check your current target using systemctl get-default. This will most probably return graphical.target. Now you can change this by running systemctl set-default multi-user.target && reboot. I forgot to mention that you can run systemctl isolate multi-user.target to force an immediate switch to the textual interface Sep 23, 2021 at 14:51
  • 1
    This should be an answer, worked like a charm.
    – lanf
    Dec 25, 2021 at 20:06

1 Answer 1

1

Well I think you want to use multi-user.target target. Systemd uses targets where Sysv / init system uses runlevels. So basically what you need to do is. 1) Check your current target using

systemctl get-default

This will most probably return graphical.target. Now you can change this by running

systemctl set-default multi-user.target && reboot

Or, without the need to reboot your system, you'd run

systemctl isolate multi-user.target

to force an immediate switch to the textual interface

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .