[plasmashell] [Bug 481808] Clicking "Sleep" on the lockscreen makes it also display a failed login attempt

[email protected]
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=481808

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #35 from [email protected] ---
Same here,

### System

* Fedora 44 KDE

* Wayland

* Issue started after upgrading to Fedora 44

### Problem

After the laptop has been **locked for some time** (especially after suspend),
the **first password attempt on the KDE lock screen always fails**, even though
I'm certain the password is correct.

The second attempt succeeds with the exact same password.

### Things I've noticed

* The problem **only happens on the KDE lock screen**.

* It **does not happen on the SDDM login screen** after a reboot.

* If I lock and immediately unlock the screen, authentication works on the
first try.

* The issue appears only after the screen has been locked for a while or after
waking from suspend.

* The most interesting observation is that if I **type my password, click the
"show password" (eye) button, verify it is correct, and then press Enter**, it
authenticates successfully on the first attempt every time.

### Logs

The journal shows the first authentication being rejected by PAM:

```
kscreenlocker_greet: pam_unix(kde:auth): authentication failure
unix_chkpwd: password check failed for user

```

A few seconds later, entering the same password succeeds.

The suspend/resume sequence itself appears clean, with no kernel, GPU, or SDDM
errors.

### What I've tried

* Verified the password is correct.

* Reproduced the issue multiple times.

* Confirmed it only affects the lock screen.

* Collected `journalctl` logs around the failed authentication.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.