Longtime Fedora Silverblue user here, who recently jumped over to Kinoite (Atomic KDE). I typically enable autologin on my display managers because I use whole disk encryption and already need to enter my passphrase to decrypt and start the OS.

I discovered pretty quickly that SDDM’s autologin feature isn’t working under Fedora 40. LightDM also failed to start under Wayland on F40, regardless of which greeter I tried.

Long story short, I opted to use GDM since I knew its automatic login feature worked fine under Wayland. It’s worth noting that KDE has it’s own lockscreen mechanism, so you won’t even see GDM unless you manually logout of your session. To try this yourself:

  1. Install GDM: rpm-ostree install --apply-live gdm

  2. Disable SDDM: sudo systemctl disable sddm

  3. Enable GDM: sudo systemctl enable gdm

  4. Reboot and select the Plasma session before logging in; this is required only once in order to establish to the default, otherwise GDM will load a broken GNOME session when autologin is enabled

  5. Edit /etc/gdm/custom.conf and add the following under [daemon] (replacing username with your own):

     AutomaticLoginEnable = true
     AutomaticLogin = username
    

Voila! You will no longer need to enter your user credentials before loading the desktop.

  • Rustmilian
    link
    English
    1
    edit-2
    7 months ago

    I have kwallet setup with a password and it unlocks automatically with auto login. idk why, it’s not like I configured anything. I’m using the QT6 version. When I was using the QT5 version I had to configure it, but since switching I’ve removed those configs. Perhaps it’s because it’s the same password as the user…

    • Max-P
      link
      fedilink
      17 months ago

      That’s weird because the whole idea is that it shares the same password so it can unlock it as you log in. The password is not available during autologin because well, that’s the whole point to not provide a password. So you either have no password on kwallet or you’re not auto logging in.