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

    /usr/sbin/gdm
    

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 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 at 21:30

Your Answer

 
discard

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.