Bug#603796: [Pkg-acpi-devel] Bug#603796: acpi-support: getXconsole depends on Xserver running as X and not Xorg

2010-11-18 Thread Michael Meskes
On Wed, Nov 17, 2010 at 03:57:23PM +0100, Luca Niccoli wrote: Actually, there's also the problem that getXuser assumes XAUTHORITY is placed in the user home; this is false with gdm3. The attached patch (that includes and supersedes the previous one) parses the environment of the processes that

Bug#603796: [Pkg-acpi-devel] Bug#603796: acpi-support: getXconsole depends on Xserver running as X and not Xorg

2010-11-18 Thread Luca Niccoli
On 18 November 2010 12:54, Michael Meskes mes...@debian.org wrote: Could it be that this patch breaks other display managers? feivel:~# for pid in `ps -U user that's actually logged in  -o pid=`; do grep -z XAUTHORITY /proc/$pid/environ; done feivel:~# It seems my system using kdm does