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 belong to the user, until > it finds an XAUTHORITY definition.
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 not have any XAUTHORITY setting in the environment. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at googlemail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org