Display Managers

Table of Contents

  1. Autologin
    1. SDDM
    2. LightDM

Autologin

SDDM

  1. Generate current sddm.conf file.
     sddm --example-config > sddm.conf
     mkdir -p /usr/lib/sddm/sddm.conf.d/
     mv sddm.conf /usr/lib/sddm/sddm.conf.d/
    
  2. 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