← Back to team overview

xubuntu-dev team mailing list archive

[Bug 605688] [NEW] XFCE4 fails to lock screen after hibernation

 

*** This bug is a security vulnerability ***

You have been subscribed to a public security bug by Johnny Ferguson (hyperflexed):

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.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
XFCE4 fails to lock screen after hibernation
https://bugs.launchpad.net/bugs/605688
You received this bug notification because you are a member of Xubuntu Xfce Daily Builds, which is a direct subscriber.