1 |
On 09/11/2017 10:49 AM, Mick wrote: |
2 |
> I started a plasma session and after some period of input inactivity I noticed |
3 |
> the screen blanked out. Later on I moved the mouse and to my surprise I |
4 |
> obtained this message: |
5 |
> ********************* |
6 |
> "The screen locker is broken and unlocking is not possible anymore. |
7 |
> In order to unlock switch to a virtual terminal (e.g. Ctrl+Alt+F2), |
8 |
> log in and execute the command: |
9 |
> |
10 |
> loginctl unlock-sessions |
11 |
> |
12 |
> Afterwards switch back to the running session (Ctrl+Alt+F7)." |
13 |
> ********************* |
14 |
> |
15 |
> Given this is a non-systemd Gentoo installation and I intend to keep it this |
16 |
> way as long as reasonably practicable, what should I instruct the user to do |
17 |
> to recover their current plasma session? |
18 |
|
19 |
Are you updating KDE? I always run into this issue when updating KDE, so |
20 |
I now turn off the screen lock before I commence updating. |
21 |
|
22 |
> |
23 |
> If this is a default Gentoo installation with openrc, why does a default |
24 |
> plasma desktop screenlocker comes up with this nonsense? |
25 |
> |
26 |
|
27 |
Because KDE expects people to use systemd, a bug was raised regarding |
28 |
this issue, and the developers basically said you're on your own |
29 |
(RESOLVED: WONTFIX): |
30 |
|
31 |
https://bugs.kde.org/show_bug.cgi?id=360489 |
32 |
|
33 |
According to a comment in the bug, you can try to figure out which |
34 |
session it is (ck-list-sessions) and look for the X11 display property |
35 |
set. This will not work (or could be difficult) if you have several |
36 |
users using KDE at the same time and can't tell the sessions apart. |
37 |
|
38 |
Once you figure that out, remember the session name and: |
39 |
|
40 |
# su -c 'dbus-send --system --print-reply \ |
41 |
--dest="org.freedesktop.ConsoleKit" \ |
42 |
/org/freedesktop/ConsoleKit/<session name> \ |
43 |
org.freedesktop.ConsoleKit.Session.Unlock' |
44 |
|
45 |
This worked on my laptop running openrc. I now just disable the locker |
46 |
before doing updates. |
47 |
|
48 |
Dan |