[Pkg-acpi-devel] Bug#658232: acpi-support: on resume, the screen is not locked
Diogo F. S. Ramos
diogofsr at gmail.com
Wed Feb 1 09:01:36 UTC 2012
Package: acpi-support
Version: 0.138-10
Severity: normal
Dear Maintainer,
Upon resume, xscreensaver is not called when I'm running `screen'.
I've changed the appropriated variables and my laptop suspends
normally.
During resume, if I'm not running `screen', everything works fine. The
screen is locked by xscreensaver and everybody's happy. But, if I'm
running `screen', the session is not locked and I get back directly to
my desktop.
I've been reading through the scripts and, with help from #debian, I
think I've single out the problem at `getXuser' from
`/usr/share/acpi-support/power-funcs', because the test `if [
x"$XAUTHORITY" != x"" ]; then' at line 5 of
`/usr/share/acpi-support/screenblank' give different results if I'm
running `screen' or not.
While debugging `getXuser', I see that when run from inside `screen',
`pink -fw' returns:
didi pts/1 2012-02-01 06:25 :0:S.0
And when run from outside `screen', `pink -fw' returns:
didi pts/0 2012-02-01 06:02 :0.0
I don't know if it's important to notice, but I'm running `lightdm' as
the greeter and stumpwm as my WM.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpi-support depends on:
ii acpi-fakekey 0.138-10
ii acpi-support-base 0.138-10
ii acpid 1:2.0.14-2
ii lsb-base 3.2-28
ii pm-utils 1.4.1-9
ii x11-xserver-utils 7.6+3
Versions of packages acpi-support recommends:
ii dbus 1.4.16-1
ii gnome-screensaver 3.2.0-2+b1
ii radeontool 1.6.2-1
ii vbetool 1.1-2
ii xscreensaver 5.15-2
Versions of packages acpi-support suggests:
pn rfkill <none>
pn xinput <none>
-- Configuration Files:
/etc/default/acpi-support changed:
ACPI_SLEEP=true
ACPI_HIBERNATE=true
LOCK_SCREEN=true
LID_SLEEP=true
DISPLAY_DPMS=xset
-- no debconf information
More information about the Pkg-acpi-devel
mailing list