small_server_thingies/how_to_disable_gui.md
2021-12-25 13:03:14 +01:00

354 B

Disable GUI

Tested on debian 11

Pretty easy, apparently all is needed is the command:

systemctl set-default multi-user.target

And to go back to GUI on boot

systemctl set-default graphical.target

If the system starts without GUI, but you want to start the GUI at some point, you can use the command:

startx