You are not logged in.
Pages: 1
Hi, I tried 2 different virtual machines, just installed.
I want to have the screen locked when resume...
Xubuntu 11.04 has the screen locked after suspend or hibernate, out of the box
Opensuse 11.4 xfce suspend doesn't work (seems unrelated to xfce), and after hibernation screen is NOT locked
Of course, in Opensuse I checked that "Lock Screen..." option is active in xfce power manager... But it doesn't work :-(
Tried also Opensuse 12.1 beta, that has the same xfce power manager version as xubuntu 11.04 (1.0.10) ...
No way, doesn't work in Opensuse...
(It works as I want only if I do manually xflock4 && xfce-session-logout --hibernate)
Maybe Opensuse has not a good implementation of xfce and xubuntu is better?
(I'd like to move to Opensuse since lvm/luks has a better support...)
Or maybe I'm wrong about something? Googled with no luck about this issue, please help me...
EDIT:
on a physical machine, xubuntu suspend/hibernation has problems...
Opensuse suspend and hibernate both works well, but without asking password...
Last edited by paolo321 (2011-07-24 16:11:03)
Offline
Screen is locked if I select suspend / hybernate from xfce power manager tray icon...
But not locked if I choose suspend/hybernate from session menu or logout menu it doesn't work
I read it's like that by design, imho it's not a good thing but at least I know it's not something wrong I've done.
Anyway...
I'm planning to do a zenity "custom logout" screen, where for example hibernate is xflock4 && xfce-session-logout --hibernate
Maybe there are better solutions?
Offline
Screen is locked if I select suspend / hybernate from xfce power manager tray icon...
But not locked if I choose suspend/hybernate from session menu or logout menu it doesn't work
Me too
It looks like a bug since xfce 4.6 : https://bugzilla.xfce.org/show_bug.cgi?id=6019
On my netbook, when resuming from hibernation, after a quick grub show up, I have messages about kernel and initrd loaded up then it freeze for 30s, with no hdd activity. Then it clear the screen, and kernel resume (creating udev ..., doing fast boot ...).
Does your pc freeze for 30s (or may be less ) also ? It is hard to figure out what goiing on as at this stage, there is no logging file :-(
Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...
Offline
I worked around this issue with the same script I'm using to detect power button (see run-as-X-user.sh from other thread I've started, http://forum.xfce.org/viewtopic.php?id=6158)
Then in /etc/pm/sleep.d, create /etc/pm/sleep.d/00lockscreen (make it executable)
#!/bin/bash
case "$1" in
hibernate|suspend)
/usr/local/sbin/run-as-X-user.sh /usr/bin/xflock4
;;
*)
;;
esac
exit 0
About 30 seconds freezing, I don't have anything similar, so I cannot help you...
Offline
Pages: 1
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 528.28 KiB (Peak: 529.56 KiB) ]