I can confirm this on xscreensaver 5.21 on Debian unstable with xfce as
well. The problem is that the xscreensaver daemon is told to lock the
screen only after the computer has woken up. Using xscreensaver -debug I
can see that it receives the THROTTLE ClientMessage before the sleep,
but the LOCK ClientMessage after the sleep.

/etc/acpi/sleep_suspend.sh calls /usr/share/acpi-support/screenblank
(which runs "xscreensaver-command -throttle" then "xscreensaver-command
-lock" in the background) just before running pm-suspend. Since the
locking is done in background it opens up for a race with pm-suspend,
which is faster nowadays.

Simply removing the backgrounding "&"'s in /usr/share/acpi-
support/screenblank solves the problem. The suspend process will now
take a bit longer of course, but resuming is faster.


** Package changed: xscreensaver (Ubuntu) => acpi-support (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054299

Title:
  screensaver doesn't hide screen during unsuspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/1054299/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to