PDA

View Full Version : [xubuntu] Screen unlocked after suspend/hibernate



pp77
November 2nd, 2008, 01:21 PM
Using the latest Xubuntu 8.10, screensaver options are set to lock screen but after resuming from suspend and hibernation the screen is unlocked and that poses a grave security risk. Anyone having the same problem, any workarounds? Thanks.

florentx
March 22nd, 2009, 08:15 PM
Using the latest Xubuntu 8.10, screensaver options are set to lock screen but after resuming from suspend and hibernation the screen is unlocked and that poses a grave security risk. Anyone having the same problem, any workarounds? Thanks.

I worked out this issue with ubuntu Jaunty.
I use uswsusp for suspend and hibernate

Just drop file 00custom-lock in /etc/pm/sleep.d/
and set executable bit



user@jaunty$ sudo chmod ugo+x /etc/pm/sleep.d/00custom-lock

user@jaunty$ cat /etc/pm/config.d/01custom-uswsusp
# The sleep/wake system to use
SLEEP_MODULE="uswsusp"

# Suspend module for the wifi card
#SUSPEND_MODULES="ath_pci ath5k"

# Disable verbose logging
HOOK_BLACKLIST="00logging"