| Summary: | Unable to see lock screen UI (perhaps for screensaver-style use case) for user with blank password | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | nilskemail+kde |
| Component: | Screen locking | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kdedev, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
nilskemail+kde
2025-05-20 22:42:21 UTC
Log excerpt seems to indicate that unix_chkpwd is instantly invoked: May 21 00:33:45 kscreenlocker_greet[142466]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile May 21 00:33:45 audit[142516]: USER_AUTH pid=142516 uid=1000 auid=1000 ses=3 subj=unconfined_u:unconfined_r:chkpwd_t:s0-s0:c0.c1023 msg='op=PAM:unix_chkpwd acct="septatrix" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success' May 21 00:33:45 kscreenlocker_greet[142466]: pam_unix(kde:auth): user [septatrix] has blank password; authenticated without it May 21 00:33:45 kscreenlocker_greet[142466]: qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile May 21 00:33:45 kscreenlocker_greet[142466]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3000) May 21 00:33:45 kscreenlocker_greet[142466]: Failed to write to the pipe: Bad file descriptor. > May 21 00:33:45 kscreenlocker_greet[142466]: pam_unix(kde:auth): user [septatrix] has blank password; authenticated without it
Well that doesn't look quite right!
...That said, what are you expecting to happen for a passwordless user? You'd like to see the lock screen with just an "Unlock" button on it that takes you back to the regular session when clicked?
Another question: how did you manage to set up a passwordless user on Fedora? On my Fedora 42 install, system policies prevent it.
(In reply to Nate Graham from comment #2) > ...That said, what are you expecting to happen for a passwordless user? > You'd like to see the lock screen with just an "Unlock" button on it that > takes you back to the regular session when clicked? Yes, pretty much exactly that. Similar to what one gets for switching users > Another question: how did you manage to set up a passwordless user on > Fedora? On my Fedora 42 install, system policies prevent it. `sudo passwd -d $USER` should do the trick I tested this on Fedora 42 and was able to reproduce, the lock screen never appears. I am not able to reproduce on Neon Testing where the lock screen appears, and can be unlocked with pressing Enter. This may be a configuration problem on Fedora, but I'll let someone more familiar with pam make that call I can confirm it, thanks. I suppose in this case you might at least be using the lock screen as a pretty screensaver or something, and would be unable to make that work. |