<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 27, 2013 at 8:24 AM, Mark Fraser wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><div class="h5">On Friday 27 Dec 2013 08:17:47 David L wrote:<br>
</div><div class="h5"><snip><br></div><div class="h5">
> In 13.04, it was working fine from cron. Now it works from a terminal in<br>
> the local X session, but not from a remote ssh session or from cron. It<br>
> gives this error now from ssh:<br>
><br>
> Service 'org.freedesktop.ScreenSaver' does not exist.<br>
><br>
> Any ideas how I can get it working again?<br>
<br>
</div></div>Dave,<br>
Does the solution offered here <a href="https://bugs.kde.org/show_bug.cgi?id=314989" target="_blank">https://bugs.kde.org/show_bug.cgi?id=314989</a><br>
help you?<br></blockquote><div><br></div><div>The solution there was for a problem with unlocking... and in fact I was already using something like that for unlocking. My unlockscreen script looks like this:<br><br>#!/bin/bash<br>
export DISPLAY=:0.0<br>export PATH=/usr/lib/x86_64-linux-gnu/qt4/bin:$PATH<br>qdbus | perl -ne 'qx/kquitapp $1/ if /(kscreenlocker_greet-\d+)/'<br><br></div><div>If my kids finish their chores, I can unlock the screen from my office through ssh using that script (which still works fine in 13.10). The problem is that once it's unlocked, it stays unlocked forever (that's how long my kids would play minecraft ;) ) until I go over to the family room and lock it.<br>
<br></div><div>Thanks,<br><br></div><div> Dave<br><br></div></div></div></div>