Skip to content
Follow
Ubuntu Linux

Enable Auto Login on Ubuntu Linux: Step-by-Step Guide

Richard
Written by
Richard
Sep 3, 2022 Updated Aug 13, 2026 2 min read
Enable Auto Login on Ubuntu Linux: Step-by-Step Guide
Enable Auto Login on Ubuntu Linux: Step-by-Step Guide

Auto login on Ubuntu Linux lets your computer skip the password screen and open straight to your desktop every time you turn it on. Recent versions like Ubuntu 22.04 LTS and later handle this through a settings file called custom.conf, which controls your sign-in screen.

Turning on this feature saves time on single-user computers when you are the only person who uses your PC. You just need to open the right system file, change a couple of lines of text, and save your changes to make it work.

⚡ Quick Answer

Open System Settings, click Users, unlock the panel, and toggle the Automatic Login switch to On. Your computer will now boot directly to your desktop without a password prompt.

How to automatically sign into Ubuntu without a password

Setting up Ubuntu automatic login means the computer signs in without asking for a password each time it starts. This makes logging in faster, especially for single-user PCs. Follow the steps below to configure automatic login on the system.

Here’s how to set up the account for automatic login.

Ubuntu Linux keeps most configurations in one central place. System preferences, user accounts, and software updates are all managed from the System Settings panel.

Ubuntu Linux activities overview screen
ubuntu linux activities overview

Alternatively, click the System menu in the top-right corner of the desktop top bar.

From the System menu, select Settings, like the example shown here.

Ubuntu Linux system menu with settings option
ubuntu linux system menu top bar settings

The 'Users' tile in Ubuntu Linux's Settings app opens the user account panel. This panel allows administrators to manage login preferences, including enabling auto-login.

Ubuntu users tile in control panel settings
ubuntu users tile control panel

In the System Settings > Users panel, pick the account intended for automatic login at startup.

Click 'Unlock' in the top right and enter the password when prompted.

Unlock account settings in Ubuntu Linux
ubuntu linux unlock account settings

Locate the 'Automatic Login' toggle inside the 'Users' panel and switch it to the 'On' position. This setting allows Ubuntu to bypass the password prompt when the computer starts, saving a manual step during every boot.

Automatic login button in Ubuntu Linux settings
ubuntu linux automatic login button

System startup now proceeds directly to the desktop without manual intervention.

Close the Settings app to finish the process.

Conclusion:

  • Ubuntu Linux provides the option to automatically log in to your account without having to type a password every time you start your computer.
  • You can easily enable or disable automatic login for your user account by navigating to the System Settings and then the Users panel.
  • This feature can save time and streamline the login process for users who prefer not to enter their password each time they boot up their PC.

How to set auto login in Linux?

To configure this manually via the terminal, open the `custom.conf` file and uncomment the required lines. Replace user one with the actual username intended for automatic login, then save the changes.

How do I turn off auto login in Ubuntu?

Navigate to settings -> Users within the Ubuntu system. Uncheck the "Automatic Login" option listed under the user account. Note: Disabling this option requires unlocking the panel using the control at the top of the window first.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

Enable or Disable 'Switch User' in Ubuntu Linux
Ubuntu Linux Enable or Disable 'Switch User' in Ubuntu Linux
How to Show Weekday on Ubuntu Top Menu Bar
Ubuntu Linux How to Show Weekday on Ubuntu Top Menu Bar
How to Enable or Disable Auto Enhance during Video Playback in Windows 11
Windows How to Enable or Disable Auto Enhance during Video Playback in Windows 11
How to Enable Dropbox at Windows 11 Startup
Windows How to Enable Dropbox at Windows 11 Startup

No comments yet — be the first to share your thoughts!

Leave a Comment

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