If your Ubuntu computer sits safely in a private home office, study, or living room as a media box, typing a long password every single morning just to reach your desktop quickly starts feeling tedious. Unlike some desktop systems that require editing configuration files, modern Ubuntu includes a simple built-in Automatic Login slider right inside graphical Settings so you land directly on your workspace after turning the PC on.
Enable Automatic Login in Ubuntu Settings (No Terminal Needed)
Whether you run Ubuntu 24.04 LTS or Ubuntu 22.04 LTS, the toggle sits inside the Users panel.
- Click the System Menu in the top-right corner of the Ubuntu top bar (next to the power/Wi-Fi icons) and open Settings (the gear icon).
- In the left sidebar, click System > Users (on Ubuntu 22.04, scroll directly down the left sidebar and click Users).
- Look at the top-right corner of the Users window and click the Unlock button, then enter your current user password once so changes are permitted.
- Find the switch labelled Automatic Login and toggle it on.
Close Settings. Next time you turn on or restart your Ubuntu machine, it bypasses the login prompt cleanly and loads straight onto your desktop.
Important Side Effect: Why Chrome Still Asks for a Password Afterward
Something surprises nearly everyone the very first morning after turning on Automatic Login: Ubuntu reaches the desktop without a password, yet the moment you click Google Chrome, a grey box pops up saying “Unlock your login keyring”.
- Because you bypassed typing your account password at sign-in, Ubuntu could not unlock your encrypted password wallet automatically for browsers and Wi-Fi secrets.
- Do not panic—either type your password once into that prompt, or check our step-by-step guide to fixing the Ubuntu Unlock your login keyring prompt when opening Chrome so browsing stays smooth while keeping your setup clear.
Keep Screen Lock and Laptop Security Smart
Keep in mind two common-sense guidelines before enabling automatic sign-in:
- Only use Automatic Login on stay-at-home desktops or trusted personal machines: Never enable it on a laptop you carry onto trains, coffee shops, or flights, as anyone pressing the power button enters your files and saved sessions straight away.
- Installing updates and software still stays protected: Even with Automatic Login switched on, Ubuntu still asks for your password whenever an app requests administrator changes or major system updates.
Switch Password Sign-In Back On Anytime
If someone borrows your desk or you travel with the PC later, simply open Settings > System > Users, click Unlock, and toggle Automatic Login right back off before rebooting.