How to temporarily stop and start Gnome?

I am looking to just force my box to end all GUI instances for server usage. I want to be able to start them back up again for desktop usage later on.

I have tried:

sudo /etc/init.d/gdm stop
sudo service gdm stop
sudo service gnome stop
sudo service gdm stop gdm: unrecognized service
sudo service gnome stop gnome: unrecognized service
sudo /etc/init.d/gdm stop sudo: /etc/init.d/gdm: command not found

2 Answers

Precise Pangolin uses lightdm instead of gdm, so something like the following should work.

sudo service lightdm stop
1

To stop lightdm , you can do

sudo stop lightdm

to start lightdm

sudo start lightdm

Source :LightDM

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like