Enable or Disable Automatic Login in Ubuntu [Beginner's Tip]

This quick beginner tip shows you how to enable or disable automatic logon in Ubuntu.

When you install Ubuntu, you are provided with the option to choose whether or not you want to use password to log in to the system. If you think you made the wrong choice at that time, you can change it any time.

In this quick beginner tip for Ubuntu users, I’ll explain the steps to enable or disable automatic login in Ubuntu 18.04 and higher versions that use GNOME desktop.

You may watch this video to see the steps in action or simply follow the rest of the tutorial.

Enable automatic login in Ubuntu

First press the super key (the Windows key) on your keyboard. This will bring the GNOME Activities area. Start typing settings and you’ll see the settings application. Click on it.

Ubuntu Settings Menu
Search for Settings

In the Settings, go to the bottom and look for Details in the left sidebar:

Ubuntu User Settings
Go to Details

Now you should see the User option in the left sidebar. Click on it and you should see all the users available on your system. Click on the desired user and then click the unlock option.

Ubuntu User Settings 1
Select the user and click Unlock

You’ll have to enter your own account’s password:

Enter Password Ubuntu
Enter password

Now, you should be able to toggle the ‘Automatic Login’ button to enable automatic logon in Ubuntu.

Enable Automatic Login Ubuntu
Enable Automatic Login in Ubuntu

Disable automatic login in Ubuntu

You can disable automatic login the same way. You go to the Settings->Details->Users and then unlock it with your password and toggle the Automatic Login button off. That’s it.

Disable Automatic Login Ubuntu
Disable Automatic Login in Ubuntu

Why you should avoid using automatic login in Ubuntu?

If you take my suggestion, avoid using automatic login. There are several reasons for that. The first reason is that it makes your computer less secure. And if you use Ubuntu irregularly, you may forget your password. Now resetting Ubuntu password is not a complicated task but it’s an additional pain nonetheless.

In addition to that, you’ll encounter the famous keyring in Ubuntu. You might be irked by a “unlock keyring” popup from time to time and you’ll have to enter the password anyway.

Either way, it’s your choice if you want to use auto login in Ubuntu or not. I showed you both ways to deal with it.

What do you prefer? Do you use automatic login in Linux or not?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.