Subject: eeepc-acpi-scripts: vga toggling not working: `xrandr -q`: No protocol 
specified
Package: eeepc-acpi-scripts
Version: 1.1.10
Severity: normal
User: debian-eeepc-de...@lists.alioth.debian.org
Usertag: features

*** Please type your report below this line ***

Dear Debian folks,


I noticed that VGA toggling by using Fn + F5 is not working for me. I am using 
DebPkg:gdm3 to log into LXDE.

When the login of GDM 3 is shown Fn + F5 works. But when I am logged into LXDE 
it does not anymore. Somehow xrandr is failing.

        $ sh -x /etc/acpi/actions/vga-toggle.sh
        […]
        + getvga_status
        + xrandr -q
        No protocol specified
        Can't open display :0
        + STATUSTEXT=
        + head -n1
        + grep ^VGA
        + echo
        + STATUSLINE=
        + cut -d   -f 2,3
        + echo
        + STATUS=
        + cut -d   -f 1
        + echo
        + VGA=
        + cut -d   -f 1
        + head -n1
        + grep ^LVDS
        + echo
        + LVDS=
        + return 2
        + xrandr --output --off --output --auto
        No protocol specified
        Can't open display :0

Running `xrandr -q` from a LXTerminal works though.

Please tell me, if I need me to provide more information.


Thanks,

Paul


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

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

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base             0.137-5    scripts for handling base ACPI eve
ii  acpid                         1:2.0.6-1  Advanced Configuration and Power I
ii  pm-utils                      1.3.0-2    utilities and scripts for power ma
ii  rfkill                        0.4-1      tool for enabling and disabling wi

Versions of packages eeepc-acpi-scripts recommends:
ii  alsa-utils                    1.0.23-2   Utilities for configuring and usin

Versions of packages eeepc-acpi-scripts suggests:
pn  aosd-cat                      <none>     (no description available)
ii  gnome-osd                     0.12.2-1   OSD message framework for GNOME
ii  ttf-bitstream-vera            1.10-8     The Bitstream Vera family of free 
ii  ttf-dejavu                    2.31-1     Metapackage to pull in ttf-dejavu-

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to