22 lines
354 B
Markdown
22 lines
354 B
Markdown
# 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
|
|
```
|