[Pkg-acpi-devel] Bug#591813: Bug#591813: acpi-support: Widespred use of "su $user" is (sometimes?) broken

Luca Niccoli lultimouomo at gmail.com
Sun Aug 29 12:49:49 UTC 2010


On 16 August 2010 16:11, Michael Meskes <meskes at debian.org> wrote:

>> # xrandr --output LVDS --off
>> it works; if I run
>
> It doesn't for me, so this may depend on your settings.
>
>> # su $user -c "xset dpms force off"
>> or
>> # su $user -s /bin/sh -c "xset dpms force off"
>> with $user set to the user that owns the X session, it does not, saying:
>> No protocol specified
>> xset:  unable to open display ":0"
>
> This seems to work for me without a problem.

I seem to remember that it used to work for me as well.
I'm wondering if what triggered the problem is the switch do gdm3; are
you using it as well?
All this X auth stuff is really nasty and finding a solution that
works for everyone is going to be hard...

Cheers,
Luca





More information about the Pkg-acpi-devel mailing list