Prevent Linux from starting GUI

Prevent Linux from starting GUI

Edit /etc/default/grub with your favourite editor, e.g. nano:

sudo nano /etc/default/grub

Find this line:


Change it to:


Update GRUB:

sudo update-grub

For systems that use systemd

This is an additional step for systemd releases, e.g. (L)Ubuntu 15.04, the steps above for grub are still necessary.

You need to tell systemd to not load the graphical login manager:

sudo systemctl enable --force
sudo systemctl set-default
Last update: Tue, 13 Sep 2022 14:32:15