Package: x11-common Version: 1:7.3+10 Severity: wishlist Packages like acpid and other power management stuff might want to shut down the local display. This can be done with 'xset dpms force off'. The problem is that root can't do that, if a normal user is logged in. As a result, a log of hacks are floating around, e.g.
ps au | sed -rne 's,^root.+[[:space:]]/usr/bin/X ([^[:space:]]+).+-auth
([^[:space:]]+),\1 \2,p' \
| while read display xauthority; do
DISPLAY=$display XAUTHORITY=$xauthority xset dpms force off
done
Maybe x11-common or another x11-* package could provide a script to
allow everyone to standardise? Feel free to use the above snippet
which I place in the public domain.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1+scoflowctrl.1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.5.21 Debian configuration management sy
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii libc6 2.7-10 GNU C Library: Shared libraries
ii lsb-base 3.2-10 Linux Standard Base 3.2 init scrip
x11-common recommends no packages.
-- debconf information excluded
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

