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

            Bug ID: 432262
           Summary: Sometimes screen is not locked upon hibernation
           Product: kscreenlocker
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: valdi...@gmail.com
                CC: bhus...@gmail.com
  Target Milestone: ---

Created attachment 135271
  --> https://bugs.kde.org/attachment.cgi?id=135271&action=edit
journalctl log

SUMMARY
>From time to time, about 1 of 10 hibernation attempts, the screen is not
getting locked before hibernation and remain unlocked after hibernation.

In the log (journalctl), I see the following line:

    systemd-logind[1329]: Delay lock is active (UID 1000/valdikss, PID
1888/ksmserver) but inhibitor timeout is reached.

It seems that ksmserver does something so long that logind gives up and skips
screen locking.

`systemd-inhibit --list` shows that ksmserver is indeed responsible for screen
locking inhibitor:

    Screen Locker  1000 valdikss 1888 ksmserver sleep  Ensuring that the screen
gets locked before going to sleep delay

I see no crashes or any other activity which would explain the situation.


STEPS TO REPRODUCE
1. Hibernate the PC
2. Wake up the PC

OBSERVED RESULT
About 1 of 10 times the PC wakes up unlocked

EXPECTED RESULT
The PC wakes up locked all the time


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 33
(available in About System)
KDE Plasma Version: Plasma 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2


ADDITIONAL INFORMATION
The log is in attachment.

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

Reply via email to