<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>519400</bug_id>
          
          <creation_ts>2026-04-25 12:32:05 +0000</creation_ts>
          <short_desc>Lock screen unresponsive after waking from sleep; requires &quot;Switch User&quot; to SDDM to log in</short_desc>
          <delta_ts>2026-07-15 20:32:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Screen locking</component>
          <version>6.6.4</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>521900</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Prabhat Kumar">hi</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>kdedev</cc>
    
    <cc>nate</cc>
    
    <cc>wazhai</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2512077</commentid>
    <comment_count>0</comment_count>
      <attachid>191787</attachid>
    <who name="Prabhat Kumar">hi</who>
    <bug_when>2026-04-25 12:32:05 +0000</bug_when>
    <thetext>Created attachment 191787
kscreenlocker logs gathered using &quot;journalctl -b 0 | grep -i kscreenlocker&quot;

SUMMARY

After locking the screen and putting the system to sleep, the lock screen becomes unresponsive upon waking up. It will not accept input or unlock the session. Clicking the &quot;Switch User&quot; button drops back to the initial SDDM login screen, which functions correctly and allows successfully logging back into the session.

STEPS TO REPRODUCE
1. Lock the Plasma session.
2. Suspend the system to sleep.
3. Wake the system.
4. Attempt to type the password and unlock the screen

Reproducibility: Sometimes (Intermittent)

OBSERVED RESULT
The lock screen won&apos;t unlock.

EXPECTED RESULT
The lock screen should accept the password and successfully unlock the existing session.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.19.11-arch1-1 (64-bit)
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0

ADDITIONAL INFORMATION

Note on User Impact: While the &quot;Switch User&quot; workaround technically exists, it is highly unintuitive. For months before discovering it, my only perceived way out of this freeze was a hard hardware shutdown via the power button, resulting in lost sessions. Most regular users encountering this will likely do the same, assuming a total system lockup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2514117</commentid>
    <comment_count>1</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2026-05-06 16:56:07 +0000</bug_when>
    <thetext>Logs for searchability

Apr 25 10:44:50 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): unexpected response from failed conversation function
Apr 25 10:44:50 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): conversation failed
Apr 25 10:44:50 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): auth could not identify password for [cthulhu]
Apr 25 10:45:02 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): unexpected response from failed conversation function
Apr 25 10:45:02 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): conversation failed
Apr 25 10:45:02 Rlyeh kscreenlocker_greet[19406]: pam_unix(kde:auth): auth could not identify password for [cthulhu]
Apr 25 17:54:08 Rlyeh kscreenlocker_greet[19406]: [PAM worker kde] Authentication attempt too soon. This shouldn&apos;t happen!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2514119</commentid>
    <comment_count>2</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2026-05-06 16:57:00 +0000</bug_when>
    <thetext>Thanks for the bug report. The logs indicate this is related to bug 481808, but a worse manifestation

Please can you run the following:

❯ QT_LOGGING_RULES=kscreenlocker_greet.debug=true /opt/kde6/lib/libexec/kscreenlocker_greet --testing
and  reproduce the issue.

Also can you share /etc/pam.d/kde  (they differ per distro)

and output of `faillock --user $USER`

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2514355</commentid>
    <comment_count>3</comment_count>
    <who name="Prabhat Kumar">hi</who>
    <bug_when>2026-05-07 14:16:11 +0000</bug_when>
    <thetext>Hi, thanks for looking into this! Here is the output you requested. I specifically waited for the bug to trigger again so I could catch the exact output when it happens.

Here is all the output:

`/usr/lib/kscreenlocker_greet --testing` log

kscreenlocker_greet: Greeter is starting up.
kscreenlocker_greet: Greeter is running in testing mode
kscreenlocker_greet: Testing mode enabled: true
kscreenlocker_greet: [PAM worker kde-fingerprint] start: successfully started
kscreenlocker_greet: [PAM worker kde-smartcard] start: successfully started
kscreenlocker_greet: [PAM worker kde] start: successfully started
Locked at 1778156568
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: [PAM worker kde-fingerprint] Authenticate: Authentication done, result code: 28 (Module is unknown)
kscreenlocker_greet: [PAM worker kde-smartcard] Authenticate: Authentication done, result code: 28 (Module is unknown)
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: PamAuthenticators: Delay started on login failure for non-interactive authenticator kde-fingerprint duration: 2331494
kscreenlocker_greet: PamAuthenticators: Delay started on login failure for non-interactive authenticator kde-smartcard duration: 2134096
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: PamAuthenticators: Availability changed for non-interactive authenticator kde-fingerprint false
kscreenlocker_greet: PamAuthenticators: Availability changed for non-interactive authenticator kde-fingerprint 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: 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: Interactive authenticator kde changed business
kscreenlocker_greet: PamAuthenticators: Success from interactive authenticator kde
Unlocked

=========

`faillock --user $USER` output

cthulhu:
When                Type  Source                                           Valid

=========

`/usr/lib/pam.d/kde` content

auth       include                     system-local-login

account    include                     system-local-login

password   include                     system-local-login

session    include                     system-local-login

=========

Let me know if you need me to test anything else!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2514371</commentid>
    <comment_count>4</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2026-05-07 16:05:47 +0000</bug_when>
    <thetext>Thanks! That&apos;s helpful. The developers will need to take a closer look</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2532044</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2026-07-15 20:32:35 +0000</bug_when>
    <thetext>Thanks. Looks like the same root cause as Bug 521900.

*** This bug has been marked as a duplicate of bug 521900 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>191787</attachid>
            <date>2026-04-25 12:32:05 +0000</date>
            <delta_ts>2026-04-25 12:32:05 +0000</delta_ts>
            <desc>kscreenlocker logs gathered using &quot;journalctl -b 0 | grep -i kscreenlocker&quot;</desc>
            <filename>kscreenlocker_logs.txt</filename>
            <type>text/plain</type>
            <size>785</size>
            <attacher name="Prabhat Kumar">hi</attacher>
            
              <data encoding="base64">QXByIDI1IDEwOjQ0OjUwIFJseWVoIGtzY3JlZW5sb2NrZXJfZ3JlZXRbMTk0MDZdOiBwYW1fdW5p
eChrZGU6YXV0aCk6IHVuZXhwZWN0ZWQgcmVzcG9uc2UgZnJvbSBmYWlsZWQgY29udmVyc2F0aW9u
IGZ1bmN0aW9uCkFwciAyNSAxMDo0NDo1MCBSbHllaCBrc2NyZWVubG9ja2VyX2dyZWV0WzE5NDA2
XTogcGFtX3VuaXgoa2RlOmF1dGgpOiBjb252ZXJzYXRpb24gZmFpbGVkCkFwciAyNSAxMDo0NDo1
MCBSbHllaCBrc2NyZWVubG9ja2VyX2dyZWV0WzE5NDA2XTogcGFtX3VuaXgoa2RlOmF1dGgpOiBh
dXRoIGNvdWxkIG5vdCBpZGVudGlmeSBwYXNzd29yZCBmb3IgW2N0aHVsaHVdCkFwciAyNSAxMDo0
NTowMiBSbHllaCBrc2NyZWVubG9ja2VyX2dyZWV0WzE5NDA2XTogcGFtX3VuaXgoa2RlOmF1dGgp
OiB1bmV4cGVjdGVkIHJlc3BvbnNlIGZyb20gZmFpbGVkIGNvbnZlcnNhdGlvbiBmdW5jdGlvbgpB
cHIgMjUgMTA6NDU6MDIgUmx5ZWgga3NjcmVlbmxvY2tlcl9ncmVldFsxOTQwNl06IHBhbV91bml4
KGtkZTphdXRoKTogY29udmVyc2F0aW9uIGZhaWxlZApBcHIgMjUgMTA6NDU6MDIgUmx5ZWgga3Nj
cmVlbmxvY2tlcl9ncmVldFsxOTQwNl06IHBhbV91bml4KGtkZTphdXRoKTogYXV0aCBjb3VsZCBu
b3QgaWRlbnRpZnkgcGFzc3dvcmQgZm9yIFtjdGh1bGh1XQpBcHIgMjUgMTc6NTQ6MDggUmx5ZWgg
a3NjcmVlbmxvY2tlcl9ncmVldFsxOTQwNl06IFtQQU0gd29ya2VyIGtkZV0gQXV0aGVudGljYXRp
b24gYXR0ZW1wdCB0b28gc29vbi4gVGhpcyBzaG91bGRuJ3QgaGFwcGVuIQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>