Open Mikaela opened 9 years ago
Our PAM library should have everything to detect this situation. Most likely a missing feature on the themes and/or propagation of the PAM thingy. Definitely something we want to have.
I am using the maldives theme and in case it helps my sddm.conf is:
[Autologin]
# Autologin again on session exit
Relogin=false
# Autologin session
Session=
# Autologin user
User=
[General]
# Halt command
HaltCommand=/usr/bin/systemctl poweroff
# Initial NumLock state
# Valid values: on|off|none
# If property is set to none, numlock won't be changed
Numlock=on
# Reboot command
RebootCommand=/usr/bin/systemctl reboot
[Theme]
# Current theme name
Current=maldives
# Cursor theme
CursorTheme=
# Face icon directory
# The files should be in username.face.icon format
FacesDir=/usr/share/sddm/faces
# Theme directory path
ThemeDir=/usr/share/sddm/themes
[Users]
# Default $PATH
DefaultPath=/bin:/usr/bin:/usr/local/bin
# Hidden shells
# Users with these shells as their default won't be listed
HideShells=
# Hidden users
HideUsers=
# Maximum user id for displayed users
MaximumUid=65000
# Minimum user id for displayed users
MinimumUid=1000
# Remember the session of the last successfully logged in user
RememberLastSession=true
# Remember the last successfully logged in user
RememberLastUser=true
[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup
# Minimum VT
# The lowest virtual terminal number that will be used.
MinimumVT=1
# X server path
ServerPath=/usr/bin/X
# Xsession script path
# A script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession
# Session description directory
SessionDir=/usr/share/xsessions
# Xauth path
XauthPath=/usr/bin/xauth
Sorry, accidental close.
Workaround: get the user to ctrl+alt+F\<n> to get a terminal login prompt and do the password change there, then logout (exit) in that terminal and ctrl-alt-F\<n> back to the sddm for a login to KDE. Should work everywhere but tested on Alma Linux 8.6.
10 years dealbreaker without progress
We had this problem and switch to gdm, as a temp workaround (ugly, I know, because that has gtk dependencies, but works) until this is resolved. Lightdm did not work for us, system didn't appear to boot anymore, we could not (quickly) figure out why.
update: lightdm works too, we had invalid lines in /etc/environment
.
As I don't want to know passwords of my family members, I reset them with
passwd -de
after reinstalling OS or they have forgotten them.With LightDM this prompts a message that root has enforced the user to change password and asks for new password, confirmation for it and then the user can login using that password.
SDDM only says
Login failed
.From the passwd flags, d removes the current password and e marks the password as expired requiring new one during next login.