Description of problem: There is not way to hide the last user name in SDDM. Version-Release number of selected component (if applicable): root@localhost ~ $ dnf list sddm* Last metadata expiration check performed 0:42:01 ago on Fri Jul 3 00:51:06 2015. Installed Packages sddm.x86_64 0.10.0-4.fc22 @System sddm-kcm.x86_64 5.3.1-1.fc22 @System How reproducible: 100% Steps to Reproduce: 1. load SDDM Actual results: The name of the last user how logged in is shown in the user name filed. Expected results: An option to in the KDE-systemsettings5 to blank the user name filed at SDDM load.
Does this work? Set in /etc/sddm.conf : RememberLastUser=false
RememberLastUser=false has no effect. It seams Bug #1155898 is not really fixed.
It works for me, but, there's an interesting non-obvious quirk I just remembered. RememberLastUser=false only prevents sddm from updating /var/lib/sddm/state.conf to record *new* values for user= But, if state.conf already contains a user=foo value, that will continue to be used (and displayed) even after setting RememberLastUser=false So, to fully test this, either edit /var/lib/sddm/state.conf to include: user= or delete /var/lib/sddm/state.conf file altogether
Regardless, it's true the current kcm UI does not offer the ability to tweak this configuration. Marking as FutureFeature
If I edit or remove /var/lib/sddm/state.conf it works only for one time. The second login, shows the first user again. /var/lib/sddm/state.conf is not the problem at all, because it is only the cache of sddm. /var/lib/sddm/state.conf is restored each time when sddm is started. It stores each time the user. RememberLastUser=false in /etc/sddm.conf has no effect on this behavior. The only workaround I can imagine is a "rm -f /var/lib/sddm/state.conf" in /etc/bashrc
Ah, confirmed the second login shows user despite having RememberLastUser=false So, looks like we have 2 bugs here. That one I filed a separate bug, https://bugzilla.redhat.com/show_bug.cgi?id=1240749 I guess there's little point in providing a UI for the option, unless the option actually works.
Far from ideal, but this can be forced by editing /var/lib/sddm/state.conf, setting "User=", and then making it immutable (chattr +i /var/lib/sddm/state.conf).
As far as I can tell this is still a bug at Fedora 30. SDDM version sddm-0.18.1-2.fc30.x86_64