Bug#246516: gksudo doesnt run commands when .Xauthority file not in $HOME

David Miller David Miller <D.P.Miller@lse.ac.uk>, 246516@bugs.debian.org
Thu, 29 Apr 2004 12:50:43 +0100


Package: gksu
Version: 1.0.5-1
Severity: important

gksudo gives the following error:
Error copying '/home/david/.Xauthority' to 
'/tmp/gksu-7EEgyN': No such file or directory
and gksudo crashes requiring a ctrl c.

my $XAUTHORITY env variable is set correctly to my xauth file in /tmp 
but gksudo seems to need .Xauthority in $HOME.
if I cp $XAUTHORITY ~/.Xauthority
gksudo works fine

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages gksu depends on:
ii  libatk1.0-0                 1.4.1-1      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libgksu0                    1.0.5-1      a graphical fronted to su library
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines
ii  libgtk2.0-0                 2.2.4-3      The GTK+ graphical user interface 
ii  libpango1.0-0               1.2.5-4      Layout and rendering of internatio

-- no debconf information