Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I believe my question says what I am trying to achieve.

Steps I tried to make gdm my default display manager:

  1. sudo dpkg-reconfigure than select gdm as my default.
  2. Edit /etc/X11/default-display-manager and change its content to


After the above two steps I logged out myself and after that when I see my login screen it still shows lightdm as my display manager.

What am I doing wrong here.?

share|improve this question
Have you uninstalled lightdm..? –  Uri Herrera Jun 15 '12 at 16:42
@Uri Herrera This should not be necessary. –  Vitalie Ciubotaru Jun 15 '12 at 17:02

1 Answer 1

up vote 17 down vote accepted

You seem to have configured gdm correctly, but you did not actually stop lightdm. Logging out doesn't stop it.

After doing sudo dpkg-reconfigure gdm, you need to stop lightdm

sudo service lightdm stop

and start gdm

sudo service gdm start

Hope this helps.

share|improve this answer
Thanks. It worked. –  RanRag Jun 15 '12 at 17:12

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.