edit_lightdmconf

Disable Linux Mint automatic login

()

Linux Mint during installation offers the option of enabling system start with automatic login. If the password entry is to be restored later, as with Ubuntu 10.04, the option can no longer be found in the settings. This post show how to re-enabling the user login with password entry under Linux Mint 20 Ulyana.

It was necessary to switch off the automatic login after it was found that the email client Geary did not save the passwords of the accounts, these had to be re-entered after each restart.

Linux email client Geary

Since Linux Mint 19 Tessa Cinnamon there has the option Automatic login in the Control Panel – Login window. The setting can now be made with an text editor, open a terminal by hit CTRL + ALT + T and enter the following command:

~$ sudo vi /etc/lightdm/lightdm.conf

and remove this lines:

autologin-user=user1
autologin-user-timeout=0

 if you are not familiar with vim, your may use nano or xed.

After restarting and logging in with a password, the key management opens in the background, which enables Geary to save the passwords in the seahorse key management.

Linux Mint 20 Cinnamon modify lightdm.conf to change autologin
Linux Mint 20 Cinnamon – disable autologin
modify lightdm.conf to change autologin
Linux Mint Terminal: cat /etc/lightdm/lightdm.conf

Another possibility to switch off the automatic user login is to remove the user in the Username field in the User section – System Settings – Login Window.

Linux Mint control panel logon setting
Anmeldefenster – Benutzer – Benutzername muss leer sein.

Without automatic login, the Username field must be empty.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

One thought on “Disable Linux Mint automatic login”

Leave a Reply

Your email address will not be published. Required fields are marked *