Bug 495025 - SDDM System Settings to Autologin into X11 Session applies invalid value in /etc/sddm.conf.d/kde_settings.conf on *first* Apply
Summary: SDDM System Settings to Autologin into X11 Session applies invalid value in /...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 6.2.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-19 05:02 UTC by Christian Hartmann
Modified: 2024-10-21 17:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hartmann 2024-10-19 05:02:52 UTC
SUMMARY

Session Settings in /etc/sddm.conf.d/kde_settings.conf for an Autologin X11 Session set through System Settings / Colorts & Themes / Login Screen (SDDM) / Behavior panel is invalid on *first* Apply

STEPS TO REPRODUCE
1. Open System Settings / Colors & Themes / Login Screen (SDDM) / Behavior
2. Ensure no user / no Session is selected
3. Select user (name) and Plasma (X11) Session, Apply

OBSERVED RESULT
/etc/sddm.conf.d/kde_settings.conf reads:
Session=Plasma (X11)
User=.....

No Autologin Session via SDDM

EXPECTED RESULT
/etc/sddm.conf.d/kde_settings.conf reads:
Session=plasmax11
User=.....

or:
Session=plasmax11.desktop

Autologin via SDDM to user Session


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-47-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
When switching *from* Autologin Session Wayland  (Session=plasma) *to* X11 the entry in /etc/sddm.conf.d/kde_settings.conf
reads correctly as: Session=plasmax11
Comment 1 Christian Hartmann 2024-10-19 05:05:52 UTC
on *first* Apply is incorrect.  invalid entry:

Session=Plasma (X11)

is *always* created when switching *from* a No-Autologin Settings directly *to* Autologin to *X11* Session.