Well, it wasn't even necessary to change $user to $XUSER, getXconsole sets the former as well as the latter.
Committed. Luca -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org