Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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
possible duplicate of How can I make LightDM the default display manager? –  BuZZ-dEE Aug 31 at 11:28

1 Answer 1

up vote 18 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
Note: This kills the session. Stopping the a display manager while running a desktop session will also kill your desktop environment. –  f.ardelian Dec 14 '14 at 21:30
A lot of damage by following these steps. stop on lightdm gave me blank non X screens.. Crazy. –  Siddharth Feb 28 at 16:47

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.