https://bugs.kde.org/show_bug.cgi?id=481808

--- Comment #25 from [email protected] ---
I believe I am encountering this issue.

Here's my system details:
Operating System: CachyOS Linux 
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.1.3-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen AI 300 Series)
System Version: A9

I do have the fingerprint reader set up and use it regularly to unlock
(mentioning just in case it matters).

There is no "kde" under /etc/pam.d/ on my system.

I am able to reproduce the issue consistently using the steps below. I did
these steps after running the kscreenlocker_greet testing command from David
Edmundson's earlier comment.
1. Clicked on Sleep
2. Pressed power button to wake
3. Clicked on Sleep
4. Pressed power button to wake
    - "Unlocking failed" was briefly displayed, then the whole prompt
disappeared and the background un-blurred
5. Wiggled mouse to bring back the prompt
    - The prompt was displayed with the warning message "The account is locked
due to 3 failed logins. (10 minutes left to unlock)"
6. Entered password
    - Password was rejected; the warning message persisted
7. Switched to another tty, ran `faillock --user breser --reset` as root, and
switched back
8. Entered password
    - The warning message did the rejection shake, then disappeared, leaving
behind a clean prompt
9. Entered password
    - The warning message came back and persisted
10. Entered password
    - The warning message did the rejection shake, then disappeared, leaving
behind a clean prompt
11. Entered password
    - Computer unlocked

Here's the whole terminal output:

```
~  
❯ export QT_LOGGING_RULES='kscreenlocker_greet.debug=true'  

~  
❯ /usr/lib/kscreenlocker_greet --testing  
kscreenlocker_greet: Greeter is starting up.  
kscreenlocker_greet: [PAM worker kde] start: successfully started  
kscreenlocker_greet: [PAM worker kde-fingerprint] start: successfully started  
kscreenlocker_greet: [PAM worker kde-smartcard] start: successfully started  
kscreenlocker_greet: Greeter is running in testing mode  
kscreenlocker_greet: Testing mode enabled: true  
Locked at 1783999728  
kscreenlocker_greet: PamAuthenticators: starting authenticators  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Idle to PamAuthenticators::Authenticating  
kscreenlocker_greet: [PAM worker kde] Authenticate: Starting authentication  
kscreenlocker_greet: [PAM worker kde-fingerprint] Authenticate: Starting
authentication  
kscreenlocker_greet: [PAM worker kde-smartcard] Authenticate: Starting
authentication  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-fingerprint true  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-smartcard true  
kscreenlocker_greet: [PAM worker kde-smartcard] Authenticate: Authentication
done, result code: 28 (Module is unknown)  
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for
non-interactive authenticator kde-smartcard duration: 2333552  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-smartcard false  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-smartcard false  
kscreenlocker_greet: [PAM worker kde] Message: Echo-off prompt: Password:    
kscreenlocker_greet: [PAM worker kde] Starting nested event loop to await
response  
kscreenlocker_greet: PamAuthenticators: Secret prompt from interactive
authenticator kde  
kscreenlocker_greet: [PAM worker kde-fingerprint] Message: Info message: Place
your finger on the fingerprint reader  
kscreenlocker_greet: PamAuthenticators: Info message from non-interactive
authenticator kde-fingerprint  
kscreenlocker_greet: PamAuthenticators: cancelling interactive authenticator  
kscreenlocker_greet: [PAM worker kde] Received cancellation, exiting with
PAM_CONV_ERR  
kscreenlocker_greet: [PAM worker kde] Nested event loop's exit code was not
zero, bailing  
kscreenlocker_greet: [PAM worker kde] Authenticate: Authentication done, result
code: 20 (Authentication token manipulation error)  
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for
interactive authenticator kde duration: 1806636  
kscreenlocker_greet: PamAuthenticators: Failure from interactive authenticator
kde  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Authenticating to PamAuthenticators::Idle  
kscreenlocker_greet: [PAM worker kde-fingerprint] Authenticate: Authentication
done, result code: 9 (Authentication service cannot retrieve authentication
info)  
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for
non-interactive authenticator kde-fingerprint duration: 2063284  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-fingerprint false  
kscreenlocker_greet: PamAuthenticators: Availability changed for
non-interactive authenticator kde-fingerprint false  
kscreenlocker_greet: PamAuthenticators: starting authenticators  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Idle to PamAuthenticators::Authenticating  
kscreenlocker_greet: [PAM worker kde] Authentication attempt too soon. This
shouldn't happen!  
kscreenlocker_greet: PamAuthenticators: Failure from interactive authenticator
kde  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Authenticating to PamAuthenticators::Idle  
kscreenlocker_greet: PamAuthenticators: cancelling interactive authenticator  
kscreenlocker_greet: PamAuthenticators: starting authenticators  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Idle to PamAuthenticators::Authenticating  
kscreenlocker_greet: [PAM worker kde] Authenticate: Starting authentication  
kscreenlocker_greet: [PAM worker kde] Message: Echo-off prompt: Password:    
kscreenlocker_greet: [PAM worker kde] Starting nested event loop to await
response  
kscreenlocker_greet: PamAuthenticators: Secret prompt from interactive
authenticator kde  
kscreenlocker_greet: PamAuthenticators: cancelling interactive authenticator  
kscreenlocker_greet: [PAM worker kde] Received cancellation, exiting with
PAM_CONV_ERR  
kscreenlocker_greet: [PAM worker kde] Nested event loop's exit code was not
zero, bailing  
kscreenlocker_greet: [PAM worker kde] Authenticate: Authentication done, result
code: 20 (Authentication token manipulation error)  
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for
interactive authenticator kde duration: 1677028  
kscreenlocker_greet: PamAuthenticators: Failure from interactive authenticator
kde  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Authenticating to PamAuthenticators::Idle  
kscreenlocker_greet: PamAuthenticators: cancelling interactive authenticator  
kscreenlocker_greet: PamAuthenticators: starting authenticators  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Idle to PamAuthenticators::Authenticating  
kscreenlocker_greet: [PAM worker kde] Authenticate: Starting authentication  
kscreenlocker_greet: [PAM worker kde] Message: Info message: The account is
locked due to 3 failed logins.  
kscreenlocker_greet: [PAM worker kde] Message: Info message: (10 minutes left
to unlock)  
kscreenlocker_greet: PamAuthenticators: Info message from interactive
authenticator kde  
kscreenlocker_greet: PamAuthenticators: Info message from interactive
authenticator kde  
kscreenlocker_greet: [PAM worker kde] Message: Echo-off prompt: Password:    
kscreenlocker_greet: [PAM worker kde] Starting nested event loop to await
response  
kscreenlocker_greet: PamAuthenticators: Secret prompt from interactive
authenticator kde  
kscreenlocker_greet: PamAuthenticators: responding to interactive authenticator 
kscreenlocker_greet: [PAM worker kde] Received response, exiting nested event
loop  
kscreenlocker_greet: PamAuthenticators: Interactive authenticator kde changed
business  
kscreenlocker_greet: [PAM worker kde] Authenticate: Authentication done, result
code: 7 (Authentication failure)  
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for
interactive authenticator kde duration: 1510871  
kscreenlocker_greet: PamAuthenticators: Failure from interactive authenticator
kde  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Authenticating to PamAuthenticators::Idle  
kscreenlocker_greet: PamAuthenticators: Interactive authenticator kde changed
business  
kscreenlocker_greet: PamAuthenticators: starting authenticators  
kscreenlocker_greet: PamAuthenticators: state changing from
PamAuthenticators::Idle to PamAuthenticators::Authenticating  
kscreenlocker_greet: [PAM worker kde] Authenticate: Starting authentication  
kscreenlocker_greet: [PAM worker kde] Message: Echo-off prompt: Password:    
kscreenlocker_greet: [PAM worker kde] Starting nested event loop to await
response  
kscreenlocker_greet: PamAuthenticators: Secret prompt from interactive
authenticator kde  
kscreenlocker_greet: PamAuthenticators: responding to interactive authenticator 
kscreenlocker_greet: [PAM worker kde] Received response, exiting nested event
loop  
kscreenlocker_greet: PamAuthenticators: Interactive authenticator kde changed
business  
kscreenlocker_greet: [PAM worker] Fail delay function was called, but
authentication result was a success!  
kscreenlocker_greet: [PAM worker kde] Authenticate: Authentication done, result
code: 0 (Success)  
kscreenlocker_greet: PamAuthenticators: Success from interactive authenticator
kde  
Unlocked

~ 1m 38s
❯ faillock --user $USER
breser:
When                Type  Source                                          
Valid

```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to