I installed Ubuntu 18.04 and during the installation I chose automatic login, Is there a way to change that ? i wanna have the login screen back…any GUI settings in the control center ?
Many Thanks
I installed Ubuntu 18.04 and during the installation I chose automatic login, Is there a way to change that ? i wanna have the login screen back…any GUI settings in the control center ?
Many Thanks
hi you can go to control center then users and groups and change it there
I don’t believe you can change autologin in the GUI. You have to edit LightDM’s config files.
Here’s what I found on my system. The one caveat is that this one has been upgraded from previous Ubuntu MATE versions, and a new install could be different, although I don’t think it is.
My /etc/lightdm/lightdm.conf
file has the line
autologin-user=alexander
Yours should have your username. You would need to comment that line out (add #
at the beginning) or delete the line. It’s a file owned by root, so an easy way to edit it is with the sudoedit
command. Run
sudoedit /etc/lightdm/lightdm.conf
enter your password, and it should open in Pluma.
The following works in 16.04.4. Perhaps someone can verify 18.04 as well.
Control Center > Users and Groups > Select username > Change password > Check Don't ask for password on login.
Hi @steven, I tried that in a VM and learned something.
The login screen still appears but a simple ENTER logs you in. Yet I remember, and @Xerxes1 confirms, you don’t get a login/lightdm screen at all when installed as autologin. I don’t think it’s the same.
And @elcste got the solution. I think that confirms the lightdm config has to get involved.
That I did not know. Thanks @Bill_MI
I was able to get to the point referenced and edit the line by adding the # but how do you save it?