How to disable autologin on Administrator Account Ubuntu 12.10?

Asked by Pablo on 2012-11-18

I enabled autologin for the adminstrator account in Ubuntu 12.10. Now I want to disable autologin, so that it requests a password on login. In user accounts it shows it disabled, but it keeps logging in automatically. I ran sudo gpasswd -d myusername nopasswdlogin but that didn't help. What to do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lightdm Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-11-19
Last query:
2012-11-19
Last reply:
2012-11-18

gksudo gedit /etc/lightdm/lightdm.conf

Comment out the lines:

autologin-user=<USERNAME>
autologin-user-timeout=0

Save the new file, close gedit and reboot.

Pablo (ceascolombia) said : #2

Thank you very much. It solved the problem

Pablo (ceascolombia) said : #3

Thanks actionparsnip, that solved my question.