XFCE4 fails to lock screen after hibernation

Bug #605688 reported by deleted1234
262
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Ubuntu 10.04
XFCE 4.6.1

When I hibernate my system, I'd expect the screen to be locked when it wakes up. This is the behaviour in gnome (as far as I've seen). I assume all window managers call /etc/acpi/hibernate.sh, so why is it that the screen only locks when gnome calls it, and not xfce?

Since I find xfce's method of locking the screen ugly (via xscreensaver), I've modified /usr/bin/xflock4 to be:

gnome-screensaver-command --lock
exit 0

I can lock the screen fine. However, I can't imagine why xflock4 isn't called when the system hibernates. What if my machine were stolen while it was in hibernate mode? This would allow the thief to make light work of breaking through my authentication system.

I tried modifying /etc/acpi/hibernate.sh so that if xfdesktop was detected as running, it would fork xflock4 before calling pm-hibernate, however this would only lock the screen, and sometimes it would randomly decide to hibernate. However, upon waking up, ubuntu would tell me something was wrong with my display and that it had to run in low graphics mode.

I've seen older versions of this bug, and the suggestion was to use XFCE's power management setup to make the machine lock on waking from hibernation. In the current version, this is not an option. In fact. the XFCE4 Settings Manager doesn't even have a power management screen. There is a power management screen under Settings, but it does not allow the option of forcing the screen to lock when going into any power saving mode.

visibility: private → public
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.