You are not logged in.

#1 2019-10-18 07:34:35

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

KDE Screen locker broken after recent KDE upgrade

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

#2 2019-10-18 08:08:05

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: KDE Screen locker broken after recent KDE upgrade

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

#3 2019-10-18 08:41:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: KDE Screen locker broken after recent KDE upgrade

What's your output of

systemd-inhibit --list

with cantata open?

Offline

#4 2019-10-18 09:20:05

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: KDE Screen locker broken after recent KDE upgrade

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

#5 2019-10-26 06:20:45

yjunr00t
Member
Registered: 2018-06-19
Posts: 2

Re: KDE Screen locker broken after recent KDE upgrade

this bug had been fixed after the recent upgrade,AWESOME!

Offline

#6 2019-11-11 15:03:40

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 128

Re: KDE Screen locker broken after recent KDE upgrade

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

Board footer

Powered by FluxBB