Bug 507125

Summary: Autologin doesn't work
Product: [Plasma] plasma-login-manager Reporter: hellogaming91
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, olib141, site.kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hellogaming91 2025-07-16 19:21:53 UTC
SUMMARY
Autologging into Plasma doesn't work despite configuring it like in SDDM.

STEPS TO REPRODUCE
1. Try any of these locations: /etc/plasmalogin.conf (specified in the README) /etc/plasma-login.conf (the KCM writes this) /etc/plasmalogin.conf.d/autologin.conf (This worked with SDDM)
2. Add these lines (replace username with the logged in user)
[Autologin]
User=[username]
Session=plasma
3. reboot

OBSERVED RESULT

It launches into the login screen instead of the desktop

EXPECTED RESULT

It launches into the desktop

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION

Since this is an SDDM fork, and I configured it like this in SDDM, I expected it working
Comment 1 hellogaming91 2025-10-21 19:55:35 UTC
It seems to require adding .desktop after the session name, it won't work otherwise. (and it only works with /etc/plasmalogin.conf from my quick testing). I suspect this commit broke it: https://invent.kde.org/plasma/plasma-login-manager/-/commit/2f4286c6c266209590c710994f8350314a2fda5b.patch