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 removed lightdm since I was not able to login as it was booting to a blank screen. Hence I installed GDM and everything was fine. Now when I try to use the Autologin option through GUI interface and also by editing the


AutomaticLoginEnable=true AutomaticLogin=

Autologin fails in GDM also. It goes into a black screen.

Can anyone help me out on how to reset lightdm to ubuntu defaults..and autologin?

Btw I tried

sudo dpkg-reconfigure lightdm etc...commands

share|improve this question
Check out .dmrc file in your home folder, it stores name of your session. –  kenn Jan 3 at 12:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.