No password asked at login screen just start session button with LightDM

Solution 1:

Thanks to user sisco311 from ubuntuforums.org for this answer.

I didn't try it but the link posted above shows a command line:

sudo gpasswd -d $USER nopasswdlogin 

that should work. I did it using the GUI.

The thing is that my user was in the nopasswdlogin group. I had to install the gnome-system-tools which has the GUI to manage users and groups. Then I ran the users-groups manager and change my user to NOT be part of the nopasswdlogin group. Problem Solved. I do have a remaining question: why or how did my user got into that group?

Solution 2:

On distributions that use lightdm (xubuntu, ubuntu-studio, ...) you can simply edit

/etc/lightdm/lightdm.conf

If you want user "blah" to auto-login, add the line:

autologin-user=blah

If you want to be prompted for a password when the system boots, just remove that line, or comment it out (ie. place a # sign at the beginning).

Solution 3:

To add a user to nopasswdlogin group: sudo gpasswd -a $USER nopasswdlogin

To remove a user from it: sudo gpasswd -d $USER nopasswdlogin