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

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fab...@ritter-vogt.de

--- Comment #1 from Fabian Vogt <fab...@ritter-vogt.de> ---
> Fabian Vogt (Vogtinator) suspects sleeping from the lock screen somehow 
> triggers a broken PAM conversation: 
> https://github.com/sddm/sddm/issues/1941#issuecomment-2254224974

The difference is that for me unlocking after waking up works fine despite the
broken PAM conversation.

If the broken PAM conversation is the cause, this should avoid it:

diff --git a/greeter/greeterapp.cpp b/greeter/greeterapp.cpp
index eb088cc..6c016cb 100644
--- a/greeter/greeterapp.cpp
+++ b/greeter/greeterapp.cpp
@@ -527,7 +527,6 @@ void UnlockApp::suspendToRam()

     m_ignoreRequests = true;
     m_resetRequestIgnoreTimer->start();
-    m_authenticators->cancel();

     PowerManagement::instance()->suspend();
 }

Probably not a proper fix though, at least the noninteractive authenticators
running in the background should probably be stopped before suspending.
Currently that's not guaranteed either though, it's all async.

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

Reply via email to