[Pkg-acpi-devel] Bug#534406: If xscreensaver has crashed, does not lock screen on suspend
Enrico Zini
enrico at debian.org
Wed Jun 24 01:41:56 UTC 2009
Package: acpi-support
Version: 0.123-1
Severity: normal
Hello,
in order to detect what method to use to lock the screen,
/etc/acpi/sleep.sh and /usr/share/acpi-support/screenblank look for an
existing xscreensaver.
However, if xscreensaver has crashed for some reason, then the screen
does not get locked, which I see as rather problematic security issue.
In my case, if xscreensaver is not running, I would rather the suspend
not to happen, so that I know what is going on rather than falsely
assume that it is now safe to leave the laptop unattended.
Or even more ideally, the scripts could start xscreensaver for me if it
is not running.
Well, even more ideally it should not be a problem of acpi scripts but
X should have a way to say "make sure that the screen is locked in
whatever way the user prefers, but lock it", or the X lock machinery of
the ACPi script should be extracted and bundled in an x-lock-screen
script that could also be used by others, but this is digressing.
I understand that ensuring the screen is locked would mean requiring me
to explicitly specify what X lock method should be used in my machine,
but that would be exactly what I would like to be able to do.
Cheers,
Enrico
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.123-1 scripts for handling base ACPI eve
ii acpid 1.0.10-2 Utilities for using ACPI power man
ii dmidecode 2.9-1 Dump Desktop Management Interface
ii finger 0.17-13 user information lookup program
ii hdparm 8.9-3 tune hard disk parameters for high
ii laptop-detect 0.13.7 attempt to detect a laptop
ii libc6 2.9-12 GNU C Library: Shared libraries
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii pm-utils 1.2.5-2 utilities and scripts for power ma
ii powermgmt-base 1.30+nmu1 Common utils and configs for power
ii x11-xserver-utils 7.4+2 X server utilities
Versions of packages acpi-support recommends:
ii dbus 1.2.12-1 simple interprocess messaging syst
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
pn nvclock <none> (no description available)
ii radeontool 1.5-5 utility to control ATI Radeon back
Versions of packages acpi-support suggests:
pn laptop-mode-tools <none> (no description available)
-- no debconf information
More information about the Pkg-acpi-devel
mailing list