Status and possible workarounds for no password after hibernate

Lorenzo Sutton lorenzofsutton at gmail.com
Thu Aug 30 12:30:44 CEST 2012


I've been digging around and the discussions on the bug page:

https://bugzilla.xfce.org/show_bug.cgi?id=4805#c23

are a bit confusing.

As a net effect it seems that it is not possible to have the machine 
locked after hibernating (via the 'Log Out' window selected from the 
menu and power (hardware) button as set-up in power manager options)

This is a problem here due to the fact that my machine is in the office 
and I obviously don't want anyone just switching it on and land on my 
hibernated desktop...

Set-up is XFCE 4.8 on debian wheezy with xscreensaver

As a possible workaround digging around on the web I've come up with 
this which uses dbus so I can do it as user:

xscreensaver-command -lock && sleep 1s && dbus-send --system 
--print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower 
org.freedesktop.UPower.Hibernate

But maybe there are prettier/better solutions?

Lorenzo.


More information about the Xfce mailing list