commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Do the unlock KDE screen saver locked session with lightdm display manager used in Kubuntu 12.10 +
There are 6 alternatives - vote for the best!
The unlock command for KDE 4.3 has changed from krunner_lock, this process doesn't exist anymore. So here's the update :-)
If qdbus complains about not being able to find X, put a "DISPLAY=:0 " (:0 being your X server display) in front of the command.
For KDE 4.2.* with plasma overlay activated I use this.
So this first obtains address of the DBUS session, as it's not available by default over SSH. Then it tells plasma-overlay to exit. `kquitapp` is pretty much an equivalent of the qdbus calls.
With this you can unlock your KDE4 session via SSH, via mobile phone SSH or e. g. scheduled task in crontab (without asking password). Useful when you need to grant somebody access to your locked profile remotely.
Create an alias (e. g. as "unlock") and use with remote KDE4 lock.
This works only on KDE4 boxes because KDE 3 is using utility with another name.
Tested on Kubuntu 8.10.
If you can do better, submit your command here.
You must be signed in to comment.