sddm-chili
sddm-chili copied to clipboard
Chili does not correctly read last logged-in user
SDDM's last logged in user, when set in /var/lib/sddm/state.conf, under [Last]
and User=username
, is ignored by Chili. Default SDDM theme, and every other I tested, reads this field correctly without issue. When the theme is set to Chili though, the last user seems to end up being the last user added to the system from that monitor for some reason. In my case, one monitor defaults to the second user added, the other the third - even after repeated logins and reboots as the original user.
All SDDM configs show SDDM should be functioning as intended:
/var/lib/sddm/state.conf:
[Last]
# Name of the last logged-in user.
# This user will be preselected when the login screen appears
User=gctypo
# Name of the session for the last logged-in user.
# This session will be preselected when the login screen appears.
Session=/usr/share/xsessions/i3-with-shmlog.desktop
Excerpt from /etc/sddm.conf.d/sddm.conf:
[Theme]
Current=chili
[Users]
RememberLastUser=true
/usr/share/sddm/themes/chili/theme.conf:
[General]
background=assets/background.jpg
ScreenWidth=1440
ScreenHeight=900
blur=true
recursiveBlurLoops=4
recursiveBlurRadius=10
PasswordFieldOutlined=false
PowerIconSize=
FontPointSize=
AvatarPixelSize=
translationReboot=
translationSuspend=
translationPowerOff=
To reproduce:
- Have a user
- Install SDDM, then sddm-chili
- Ensure
RememberLastUser=true
and theme isCurrent=chili
- Add a new user with
useradd
- Reboot, check SDDM preselected user
- Log in as original user, verify contents of /var/lib/sddm/state.conf, then log out
- Check SDDM preselected user
- Reboot, log in as original user
- Plug in second monitor
- Repeat steps 4-7
- Change theme back to default, log out
- Check SDDM preselected user