You are not logged in.
The functionality used to be I would leave my computer running and eventually KDE would automatically lock the screen after specified minutes and then power off the screen. After the latest KDE upgrade, instead of a lock screen, I am getting this message:
Screen locker is broken and unlocking is not possible anymore.
In order to unlock, switch to a virtual terminal Ctrl+Alt+F2 and execute
loginctl unlock-session 2.
Afterwards switch back to the running session Ctrl+Alt+F1
I follow the instructions and I'm back to my desktop.
Any idea on why this is happening now when it used to be working? How to debug?
Thanks in advance.
Last edited by d_fajardo (2019-10-18 07:35:02)
Offline
Upon further testing, I discovered that the problem is in Cantata. Locking works OK on its own but when I have Cantata open and lock the screen, the screen blinks twice and then flags me the message as above. Also I can confirm the problem is not mpd because I can play music via ncmpcpp and lock the screen without problem.
Does anyone with KDE and Cantata experiencing the same issue? Perhaps Cantata needs a new update after the latest KDE release and should be reported upstream?
Offline
What's your output of
systemd-inhibit --list
with cantata open?
Offline
With Cantata open, this is the output of systemd-inhibit --list:
UPower 0 root 1172 upowerd sleep Pause device polling delay
PowerDevil 1000 brightchip 1322 org_kde_powerde handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch KDE handles power events block
Screen Locker 1000 brightchip 1280 ksmserver sleep Ensuring that the screen gets locked before going to sleep delay
EDIT: I found a temporary solution by checking 'Inhibit suspend whilst playing' in Cantata...
Last edited by d_fajardo (2019-10-18 10:45:08)
Offline
this bug had been fixed after the recent upgrade,AWESOME!
Offline
My system is up to date and I still encounter this issue. The bug happens only when cantata is running and checking 'Inhibit suspend whilst playing' has none effect. Here is the output of systemd-inhibit --list :
WHO UID USER PID COMM WHAT WHY MODE
UPower 0 root 2322 upowerd sleep Pause device polling delay
PowerDevil 9999 xxxxxxx 2140 org_kde_powerde handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch KDE handles power events block
Offline