small_server_thingies/how_to_disable_gui.md

23 lines
354 B
Markdown
Raw Normal View History

2021-12-25 13:03:14 +01:00
# Disable GUI
# Tested on debian 11
Pretty easy, apparently all is needed is the command:
```bash
systemctl set-default multi-user.target
```
And to go back to GUI on boot
```bash
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:
```bash
startx
```