From f1b30050eb71520a03583c5e63230d03a77f8f5a Mon Sep 17 00:00:00 2001 From: pablo Date: Sat, 25 Dec 2021 13:03:14 +0100 Subject: [PATCH] how to disable gui for servers --- how_to_disable_gui.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 how_to_disable_gui.md diff --git a/how_to_disable_gui.md b/how_to_disable_gui.md new file mode 100644 index 0000000..b99caf8 --- /dev/null +++ b/how_to_disable_gui.md @@ -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 +```