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?
1 Answer
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
- Exactly what I needed! Thank youjbrahy– jbrahy2024-06-24 07:40:47 +00:00Commented Jun 24, 2024 at 7:40
multi-user.targettarget. Systemd uses targets where Sysv / init system usesrunlevels. So basically what you need to do is. 1) Check your current target usingsystemctl get-default. This will most probably returngraphical.target. Now you can change this by runningsystemctl set-default multi-user.target&& reboot. I forgot to mention that you can runsystemctl isolate multi-user.targetto force an immediate switch to the textual interface