Skip to content
Follow
Ubuntu Linux

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

Richard
Written by
Richard
Sep 3, 2022 Updated Sep 15, 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 in Ubuntu Linux lets your computer skip the password screen and open straight to your desktop as soon as you turn it on. Recent versions like Ubuntu 22.04 LTS and later handle this sign-in step through a configuration file named custom.conf.

Advertisement

Turning on this feature saves time on single-user computers when you are the only person who uses your PC. You can set this up through the standard desktop settings menu or by editing the system files directly.

⚡ 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.

Advertisement

How to automatically sign into Ubuntu without a password

Ubuntu automatic login lets your computer skip the sign-in screen and open straight to the desktop every time you turn it on. You can turn on this feature by opening the Settings app, going to the Users menu, and switching on the automatic login option for your user account.

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.

Advertisement

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.

Advertisement
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.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 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 *