As you said this is a hack. A fix would ? be to check if the current account is a system account, and to refuse to lock the screen if the running session isnt the own of the process&#39;s owner.<br><br><div class="gmail_quote">
2009/9/19 Jarno Suni <span dir="ltr">&lt;<a href="mailto:jarno.ilari.suni@gmail.com">jarno.ilari.suni@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sat, Sep 19, 2009 at 8:31 PM, Lionel Le Folgoc &lt;<a href="mailto:mrpouit@ubuntu.com">mrpouit@ubuntu.com</a>&gt; wrote:<br>
<br>
</div><div class="im">&gt; I just tested, and it is not possible to lock the screen with<br>
&gt; gnome-screensaver or xscreensaver actually (either because the account<br>
&gt; doesn&#39;t have a password or because they are not running with gdm). So<br>
&gt; I&#39;d say there is no bug for us to fix, the bug is in xlock…<br>
<br>
</div>Also xfce4-power-manager should not offer an option in preferences to<br>
lock screen as such a user.<br>
<div><div></div><div class="h5"><br>
--<br>
<a href="http://www.iki.fi/8/" target="_blank">http://www.iki.fi/8/</a><br>
<br>
--<br>
xubuntu-devel mailing list<br>
<a href="mailto:xubuntu-devel@lists.ubuntu.com">xubuntu-devel@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Steve Dodier<br>OpenPGP : 1B6B1670<br>IRC : SiDi on <a href="http://irc.freenode.net">irc.freenode.net</a><br>Jabber : <a href="mailto:sidi@im.apinc.org">sidi@im.apinc.org</a><br>
<a href="mailto:steve.dodier@gmail.com">steve.dodier@gmail.com</a><br><a href="https://launchpad.net/~sidi">https://launchpad.net/~sidi</a><br>