How to disable Automatic login
GNOME (Ubuntu, Fedora, etc.)
- Open Settings
- Navigate to Users
- Click on your user account
- Turn off Automatic Login
KDE Plasma
- Open System Settings
- Go to Startup and Shutdown → Login Screen (SDDM)
- In the Advanced tab, ensure Automatically log in is set to None
XFCE
- Open Settings Manager
- Click on Users and Groups
- Ensure automatic login is disabled for all user accounts
Command Line Method
For systems using GDM (GNOME Display Manager):
Ensure these lines are commented out or removed:
# AutomaticLogin=username
For systems using LightDM:
Ensure these lines are commented out:
# autologin-user-timeout=0