org.freedesktop.ScreenSaver does not exist

David L idht4n at gmail.com
Fri Dec 27 16:17:47 UTC 2013


I just upgraded to 13.10 and a script that used to work for me stopped
working.  Specifically, I had a script that I ran from a cron job that
locked the screen so my kids can't use the computer in the family room for
long periods of time.  The script looks like this:

#!/bin/bash
export DISPLAY=:0.0
export PATH=/usr/lib/x86_64-linux-gnu/qt4/bin:$PATH
qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock


In 13.04, it was working fine from cron.  Now it works from a terminal in
the local X session, but not from a remote ssh session or from cron.  It
gives this error now from ssh:

Service 'org.freedesktop.ScreenSaver' does not exist.

Any ideas how I can get it working again?


Thanks,

          Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20131227/7b5dcfd7/attachment.html>


More information about the kubuntu-users mailing list