Display Managers
Table of Contents
Autologin
SDDM
- Generate current
sddm.conffile.sddm --example-config > sddm.conf mkdir -p /usr/lib/sddm/sddm.conf.d/ mv sddm.conf /usr/lib/sddm/sddm.conf.d/ - Open the newly generated file. Keep other settings as is and only change these parameters accordingly.
[Autologin] # Whether sddm should automatically log back into sessions when they exit Relogin=true # Name of session file for autologin session (if empty try last logged in) Session= # Username for autologin session User={username}
LightDM
Edit /etc/lightdm/lightdm.conf to these config.
autologin-guest=false
autologin-user={username}
autologin-user-timeout=0