After updating to sddm-0.12.0-1.mga6, on two different systems SDDM defaults to a different DE than the last used one (IceWM on the one and Gnome on the other, which both weren't used in many months, instead of Plasma5 or maybe XFCE) After doing systemctl disable prefdm systemctl enable sddm on one of those laptops, the last used DE is correctly preselected again. On both laptops /var/lib/sddm/state.conf contains: Session=/usr/share/xsessions/plasma.desktop Both have in /etc/sddm.conf #RememberLastSession= # If this flag is true, LastSession value will updated on every successfull login, if false last session value wont be updated. Default # value is true. and no additional setting about RememberLastSession
I now rebooted the second cauldron, which still uses prefdm, for the 2nd time since updating sddm. The problem vanished, Plasma is preselected as it should. I do not know why, in the first cauldron, the wrong DE was preselected on two reboots, before I switched from prefdm.service to sddm.service. However, the additional problems I had there earlier today when sddm was started, may somehow have prevented /var/lib/sddm/state.conf from being updated. I'll try to remember to check whether anything happens to /var/lib/sddm/state.conf when I update a third cauldron.
Summary: sddm-0.12.0-1.mga6 doesn't remember last session when called from prefdm.service => sddm-0.12.0-1.mga6 doesn't remember last session from previous sddm
(In reply to Marja van Waes from comment #1) > > I'll try to remember to check whether anything happens to > /var/lib/sddm/state.conf when I update a third cauldron. Nothing happened to it, before logging in after updating, it still had -rw-r--r-- 1 root root 271 Sep 22 07:40 state.conf and the content of that file was: =============================================================================== [Last] # Name of the last logged-in user. This username will be preselected/shown when the login screen shows up User=marja # Name of the session file of the last session selected. This session will be preselected when the login screen shows up. Session=xfce.desktop ============================================================================== However, sddm defaulted to IceWM
Might be a dup of bug 16894, but if it is, then I don't understand what the underlying issue is
Sorry but I cannot reproduce. /var/lib/sddm/state.conf here contains always the user and name of the most recently selected desktop session, and sddm will show the most recently used desktop session as preselected. Will close, please reopen if it occurs again. In case it does, please also attach the output of journalctl -ab|grep -i sddm
Status: NEW => RESOLVEDCC: (none) => doktor5000Resolution: (none) => INVALID
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16894