Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Ubuntu 10.10 desktop, but i need to shut off graphic window (gdm) and and make it alive when a need it, how can i do that?

Thanks in advance


share|improve this question

To stop GDM:

sudo stop gdm

Make sure you're logged out from the graphical login or you might loose data.

To start it again, use:

sudo start gdm
share|improve this answer
Thanks a lot for for all of you, question answered. – Rick May 2 '11 at 14:18

If you only need a terminal, and not to close everything in the GUI, press Ctrl+Alt+ one of the F1 to F6 Keys. You will get a fullscreen login terminal. To switch back, press Ctrl+Alt+F7.

share|improve this answer

if you don't want GDM to start automatically just edit "/etc/default/grub" and modify the line:



GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

then type:

sudo update-grub

then, you can start GDM at any time by typing:

sudo service gdm start

or just run the default DE by typing:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.