how to disable gui for servers

This commit is contained in:
pablo 2021-12-25 13:03:14 +01:00
parent 2625545e1f
commit f1b30050eb

22
how_to_disable_gui.md Normal file
View file

@ -0,0 +1,22 @@
# 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
```