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 wrote: > Could it be that this patch breaks other display managers? > > feivel:~# for pid in `ps -U  -o pid=`; do > grep -z XAUTHORITY /proc/$pid/environ; done > feivel:~# > > It seems my system using kdm does not have any XAUTHORITY setting in the > e

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 t

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

2010-11-17 Thread Luca Niccoli
retitle 603796 power-funcs makes incorrect assumptions about Xorg thank you 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 proc

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

2010-11-17 Thread Luca Niccoli
Package: acpi-support Version: 0.137-5 Severity: normal Tags: patch The regex in getXconsole to find the X display searches for "/X ", but X nowadays runs as Xorg. The attached patch will match against both. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: