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



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

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.


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:


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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