org.freedesktop.ScreenSaver does not exist

Mark Fraser mfraz74+ubuntu at
Fri Dec 27 16:24:50 UTC 2013

On Friday 27 Dec 2013 08:17:47 David L wrote:
> 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?

Does the solution offered here 
help you?


More information about the kubuntu-users mailing list