How To Enable Automatic Login without Password in Ubuntu

Steps to enable automatic login without asking for the password in GNOME, KDE, and Ubuntu MATE.

When we use Linux distros, in this specific case Ubuntu 16.04, it is common that the system requires us to access credentials.

This is configured from the moment of the installation and is applied as a security measure to prevent the unauthorized access of users to the system, putting at risk the integrity and security of the information.

By default, if we want during the installation process this option can be set but not always consider, and if our team is safe and only we will access it is practical to enable the login form automatically and thus save time in accessing Ubuntu 16 or 17.

In this case, we will use Ubuntu 16.04 but the process applies to the other editions of Ubuntu.

Enable Automatic Login in GNOME

One of the most common desktop environments in Ubuntu is undoubtedly GNOME thanks to its design and versatility. If we want to enable this login in GNOME environments we will perform the following process.

For this, we will access System Settings from the sidebar.

There we select the User Accounts option located in the System group and we will see the next window where it will be necessary to press the Unlock button to have access to the configuration, there we enter our administrator password. Click on the button Authenticate and in this way we can make changes to the user's account.

Now we simply have to select the user to edit, and press the switch Automatic Login.

In this simple way we have enabled the automatic login in Ubuntu GNOME environments.

Enable Automatic Login in MATE

MATE is another of Ubuntu's common desktop environments thanks to its simplicity of use and modern and practical environment. The process to enable automatic login in these types of environments is as follows.

Once we access the MATE environment, we go to the System/Administration/Users and Gruops tab;

The following window will be displayed:

There we select the user to edit and click on the Change button in the Password: Asked on login line. To make the change we must enter our access credentials.

In the opened window we will activate the box Don't ask for password on login. Press OK to save the changes.

This is the graphic way to enable the login in Ubuntu MATE.

If we want to perform this process using the command line we must go, as root users, to the following route:

/usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf

In this file it will be necessary to add the following text. We save the file.

[SeatDefaults]


greeter-session=lightdm-gtk-greeter


autologin-user=user_name

Enable Automatic Login in KDE Plasma

KDE Plasma is another of the modern and dynamic environments of Ubuntu that offers a great visual experience for users. To perform the process of enabling automatic login in this environment, we will perform the following process:

From the KDE Plasma main menu we select the System Preferences option :

The following window will be displayed where we will select the Account Details option:

Once this option is displayed, we go to the User Manager line and there we select the user that we will edit and activate the Automatic Login checkboxFinally click on the Apply button to save the changes.

Similar Posts

One Comment

  1. Just wanted to let you know how I figured it out on the latest Linux Mint 20.1. You go to Users and groups. Then you click on the desired account. Then click on ‘groups’ and select ‘nopasswdlogin’ and click OK.

Leave a Reply

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