Following assigning 'Auto login' to a user the setting is non persistent following further logins and CANNOT be reverted back to manual login! Reproducible: Always Steps to Reproduce: 1. User Manager > edit user > Administrator: check + Auto Login: check 2. Reboot 3. User is logged in automatically Actual Results: Following reboot auto login no longer checked, however user is still logged in automatically each time the system is reset. Cannot reset back to forcing manual login! Expected Results: Login should be able to be reset to default manual login
Auto login does not work for SDDM is a GDM thing only in accountsservice. Also I don't think we need this since sddm-kcm has *working* autologin.. 1) remove that option from user-manager or 2) hide it when DM != GDM ( I'm not so sure GDM works at all with a kde session )
*** Bug 413377 has been marked as a duplicate of this bug. ***
*** Bug 416449 has been marked as a duplicate of this bug. ***
*** Bug 403628 has been marked as a duplicate of this bug. ***
Sounds like there's two bugs here, regarding autologin settings not being saved: user-manager still wants to write to sddm.conf and it's using sddm_kcm's function to do so, but this function no longer supports writing to sddm.conf user-manager just needs to adjusted to write to /etc/sddm.conf.d/kde_setings.conf and the feature works again, it's a simple fix to solve this properly though we also need to solve: https://bugs.kde.org/show_bug.cgi?id=414396 ... since user-manager also can't read this new config file ie. it won't remember the autologin checkbox state --- The other bug mentioned in the original report predates the one I just mentioned and sounds like user-manager's failure to erase an entry from the sddm config file when the autologin checkbox is unchecked.
This bug is open since 2015 - please fix it! Autologin settings broken In the "Login Screen (SDDM) - System Settings Module", I go to Advanced and activate the checkbox "Automatically login in:" without changing "as user:" and "with session:". - I confirm with OK and enter my password - if I reopen the window "Login Screen (SDDM) - System Settings Module" again, the checkbox "Automatically login in:" is unchecked. Even after a restart that does log me in automatically, it is still unchecked. - this confuses the user, creating uncertainty where he has set the option, about the "true" state of the option and how to deactivate it. - to deactivate autologin, open "Login Screen (SDDM) - System Settings Module", check the checkbox, apply, uncheck the checkbox, apply again. Now the Login screen will ask for the password again. It's the same with "Log in automatically" in the "User Manager - System Settings Module" - but that takes two password inputs to confirm (second one from SDDM) - and it does not even work at all. Operating System: Manjaro Linux KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0
(In reply to kde545 from comment #6) > - if I reopen the window "Login Screen (SDDM) - System Settings Module" > again, the checkbox "Automatically login in:" is unchecked. Even after a > restart that does log me in automatically, it is still unchecked. I noticed this behavior a few minutes ago while testing a patch to SDDM kcm. :( (In reply to kde545 from comment #6) > - to deactivate autologin, open "Login Screen (SDDM) - System Settings > Module", check the checkbox, apply, uncheck the checkbox, apply again. Now > the Login screen will ask for the password again. yes, I can confirm. Operating System: Arch Linux KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
(In reply to kde545 from comment #6) > This bug is open since 2015 - please fix it! > > Autologin settings broken > > In the "Login Screen (SDDM) - System Settings Module", I go to Advanced and > activate the checkbox "Automatically login in:" without changing "as user:" > and "with session:". > - I confirm with OK and enter my password > - if I reopen the window "Login Screen (SDDM) - System Settings Module" > again, the checkbox "Automatically login in:" is unchecked. Even after a > restart that does log me in automatically, it is still unchecked. > - this confuses the user, creating uncertainty where he has set the option, > about the "true" state of the option and how to deactivate it. > - to deactivate autologin, open "Login Screen (SDDM) - System Settings > Module", check the checkbox, apply, uncheck the checkbox, apply again. Now > the Login screen will ask for the password again. > > It's the same with "Log in automatically" in the "User Manager - System > Settings Module" - but that takes two password inputs to confirm (second one > from SDDM) - and it does not even work at all. > > Operating System: Manjaro Linux > KDE Plasma Version: 5.17.5 > KDE Frameworks Version: 5.66.0 Yes, that's the bug I already linked: https://bugs.kde.org/show_bug.cgi?id=414396 A fix for sddm-kcm: https://phabricator.kde.org/D27388 A fix for user-manager: https://phabricator.kde.org/D26813 Hopefully both will be fixed in 5.18.1.
(In reply to Filip Fila from comment #8) > Hopefully both will be fixed in 5.18.1. Looking forward to it, thanks!
Git commit b2d0e463a4901329ce6a0ada4ec720ff9b5cc90f by Filip Fila. Committed on 17/02/2020 at 21:09. Pushed by filipf into branch 'Plasma/5.18'. Have user-manager write to SDDM's new config file Summary: user-manager still wants to write to sddm.conf and it's using sddm_kcm's function to do so, but this function no longer supports writing to sddm.conf That means auto-login settings are no longer getting saved anywhere. This patch tweaks user-manager to write to /etc/sddm.conf.d/kde_setings.conf, making the feature work again. Path specifying is removed on the user-manager side for writing, SDDM's auth helper does that now. FIXED-IN: 5.18.1 Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D26813 M +2 -5 src/lib/accountmodel.cpp https://commits.kde.org/user-manager/b2d0e463a4901329ce6a0ada4ec720ff9b5cc90f
It's working. Thank you!