[Debian-eeepc-devel] Bug#471521: vga-toggle.sh: does not do XAUTHORITY dance

Trent W. Buck trentbuck at gmail.com
Tue Mar 18 17:38:04 UTC 2008


Package: eeepc-acpi-scripts
Version: 1.0.2
Severity: important
File: /etc/acpi/actions/vga-toggle.sh

hotkey.sh does an XAUTHORITY dance to allow root to attach X clients
to a running server.  vga-toggle.sh does not do this, and thus its
xrandr commands fail.

Perhaps the XAUTHORITY dance in hotkey.sh should be abstracted out
into a library sourced by both scripts?

Also note that gdm uses a pseudorandomly-named temporary file in /tmp
rather than ~user/.Xauthority, so the current dance will not work for
them.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base             0.103-5    scripts for handling base ACPI eve
ii  acpid                         1.0.4-7.1  Utilities for using ACPI power man
ii  alsa-utils                    1.0.16-1   ALSA utilities
ii  pm-utils                      0.99.2-3   utilities and scripts for power ma

eeepc-acpi-scripts recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080319/37983de8/attachment.pgp 


More information about the Debian-eeepc-devel mailing list