How to disable autologin on Administrator Account Ubuntu 12.10?

Asked by Pablo

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:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
Pablo (ceascolombia) said :
#2

Thank you very much. It solved the problem

Revision history for this message
Pablo (ceascolombia) said :
#3

Thanks actionparsnip, that solved my question.