Ubuntu 12 - Disable GUI

If you have ubuntu desktop but want to switch back into booting into a gui-less mode then simply run the following command.

echo  "manual" | sudo tee -a /etc/init/lightdm.override

Now reboot and you will boot into a console rather than a GUI.

To get your gui back, simply run the command:

sudo lightdm

To revert this change and automatically boot into a GUI in future, simply run this command

sudo rm /etc/init/lightdm.override

No comments:

Post a Comment