[Debian-eeepc-devel] Bug#598097: Bug#598097: Bug#598097: Bug#598097: eeepc-acpi-scripts: vga toggling not working: `xrandr -q`: No protocol specified

Paul Menzel pm.debian at googlemail.com
Fri Nov 12 16:08:57 UTC 2010


Am Freitag, den 12.11.2010, 08:27 -0400 schrieb Ben Armstrong:
> On 12/11/10 08:12 AM, Paul Menzel wrote:
> > Am Freitag, den 12.11.2010, 07:31 -0400 schrieb Ben Armstrong:
> >> Are you logged in as display :0.0 or not?
> >>
> >> echo $DISPLAY
> > 
> > It seems I am not.
> > 
> >         $ echo $DISPLAY
> >         :0
> 
> :0 should be fine, too.
> 
> Please do the following and report the output:
> 
> su -
> . /usr/share/eeepc-acpi-scripts/functions.sh
> set -x
> detect_x_display

        $ sudo su -
        machine:~# . /usr/share/eeepc-acpi-scripts/functions.sh
        machine:~# set -x
        machine:~# detect_x_display
        + detect_x_display
        + local _user
        + local _home
        ++ sed -n '/ (:0[\.0]*)$\| :0 /{s/ .*//p;q}'
        ++ who
        + _user=joe
        + '[' joe = '' ']'
        ++ cut -d: -f6
        ++ getent passwd joe
        + _home=/home/joe
        + XAUTHORITY=/home/joe/.Xauthority
        + '[' -f /home/joe/.Xauthority ']'
        + export XAUTHORITY
        + export DISPLAY=:0
        + DISPLAY=:0
        + user=joe
        + home=/home/joe

I just noticed that DebPkg:eeepc-acpi-scripts 1.1.11 was uploaded. I
upgraded and rebooted but the problem is still the same. Besides that
the path changed to the following.

        /usr/share/acpi-support/eeepc-acpi-scripts/lib/functions.sh

Manually exporting the appropriate setting and calling `xrandr` does not
(of course) work either.

        $ sudo su -
        machine:~# export XAUTHORITY=/home/paul/.Xauthority
        + export XAUTHORITY=/home/joe/.Xauthority
        + XAUTHORITY=/home/joe/.Xauthority
        machine:~# export DISPLAY=:0
        + export DISPLAY=:0
        + DISPLAY=:0
        machine:~# xrandr -q
        + xrandr -q
        No protocol specified
        Can't open display :0


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20101112/33352dff/attachment.pgp>


More information about the Debian-eeepc-devel mailing list