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

Dmitry Demin <dmitryy.de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitryy.de...@gmail.com

--- Comment #3 from Dmitry Demin <dmitryy.de...@gmail.com> ---
If anybody needs it, I have found another solution to the problem, not
involving using systemd.
First, we have to determine which session is X11 session. To accomplish that,
run
# ck-list-sessions
in any virtual terminal (e.g. using Ctrl+Alt+F2).
One of sessions should contain x11-display property set - that session is
possibly corresponding to a locked one:
Session1:
...
x11-display = ':0'

Remember that session name ("Session1").
Now run the following command as root from the virtual terminal (below su is
used to obtain root privileges)
# su -c 'dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit"
/org/freedesktop/ConsoleKit/Session1 org.freedesktop.ConsoleKit.Session.Unlock' 
Where you should replace Session1 with your session name obtained at the
previous step using ck-list-sessions.
After that you should be able to switch back to the running session
(Ctrl+Alt+F%1).
Tested on Gentoo kde-plasma/kscreenlocker-5.6.2.

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

Reply via email to