Automatic login in Ubuntu with the GNOME environment removes the need for manual authentication at system startup and can streamline access for single-user systems. It is managed through the Settings application if not set during installation, allowing users to avoid the password prompt. The feature is enabled by modifying underlying display manager settings to auto-load user sessions.

Although automatic login offers convenience, it lowers overall security by granting direct system access. It can be risky in multi-user environments or on machines that store sensitive data, as it bypasses normal authentication safeguards. Carefully consider these factors before deciding to enable this functionality.

Enabling automatic login requires administrative privileges to modify system-wide configurations. Ubuntu uses the GDM display manager, which integrates with the GNOME desktop environment to handle user sessions. Review any potential vulnerabilities and weigh the benefit of quick access against the need for system protection.

Steps to configure automatic user login for Ubuntu (GNOME):

  1. Open Settings from the application menu or Activities overview.
  2. Click on System from the left sidebar.
  3. Click on Users.
  4. Select your user account from the list.

    If you only have one user account on your computer, it will be selected by default.

  5. Click on the Unlock button.
  6. Enter your password and click Authenticate.
  7. Toggle the Automatic Login switch to enable it.
  8. Restart your computer to apply the changes.

    You will be automatically logged in to your user account without having to enter your password when your computer starts up.

This guide is tested on Ubuntu:

Version Code Name
22.04 LTS Jammy Jellyfish
23.10 Mantic Minotaur
24.04 LTS Noble Numbat
Discuss the article:

Comment anonymously. Login not required.