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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Debian-eeepc-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel
