Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3141  / 3 Years ago, mon, october 4, 2021, 3:14:55

I am running Kubuntu 13.10 x64 with no special settings.
Now I want to unlock the machine by ssh (the kde screen lock).



I tried this: http://thebigbyte.blogspot.de/2010/05/how-to-lock-unlock-kde4-screensaver.html



But just nothing happens...



Thanks for help!


More From » kde

 Answers
4

I appears that they've removed the capability, perhaps because of security reasons. But you can do this:



First get the current dbus session



export DBUS_SESSION_BUS_ADDRESS=`cat /proc/$(pidof kded4)/environ | tr '0' '
' | grep DBUS_SESSION_BUS_ADDRESS | cut -d '=' -f2-`


Then call quit to kscreenlock:



qdbus | grep kscreenlocker | sed 's/org.kde.//' | xargs kquitapp

[#27371] Tuesday, October 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tigehanc

Total Points: 162
Total Questions: 113
Total Answers: 122

Location: Zambia
Member since Sat, Oct 31, 2020
4 Years ago
;