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

So I got rid of Lightdm but how do I get GDM to launch at default. It hangs on "checking battery state" this is in virtual box if that matters. I want GDM login to load by default instead of me starting it manually.

share|improve this question
nvm, did some more work and learned how to use rc.local. Added "gdm &" after do start and now it boots up really really quickly. – Jesse Oct 14 '11 at 14:28
Welcome to Ask Ubuntu! Congrats on getting it solved, can you add that as an answer? :) – James Oct 14 '11 at 14:42

You probably need to reconfigure GDM.

To do that, switch to a tty. Ctrl+Alt+1

Login as your user, then run the following:

sudo dpkg-reconfigure gdm

Select GDM instead of lightdm, then you can do a reboot (sudo reboot in the ttyy) and you're good to go.

share|improve this answer
I know I can open a terminal in gdm and then run unity, but how do I get unity to run on startup within gdm? – user82207 Jul 8 '14 at 14:27

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.