Bug#362125: gksu fails because it looks for xauth in wrong location

Andree Leidenfrost aleidenf at bigpond.net.au
Wed Apr 12 11:50:35 UTC 2006


Package: gksu
Version: 1.3.7-1
Severity: grave
Justification: renders package unusable

Hi Gustavo,

As of today, I can't use the synaptic menu entry in Gnome anymore.

Running the command in a ternimal gives:

andree at aurich3:~$ gksu -u root /usr/sbin/synaptic
sh: /usr/X11R6/bin/xauth: No such file or directory
sh: /usr/X11R6/bin/xauth: No such file or directory
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(synaptic:7345): Gtk-WARNING **: cannot open display:


xauth is actually in /usr/bin/xauth now:

andree at aurich3:~$ dpkg -S xauth
xutils: /usr/bin/xauth_switch_to_sun-des-1
libpam-modules: /lib/security/pam_xauth.so
xbase-clients: /usr/share/man/man1/xauth.1x.gz
xbase-clients: /usr/bin/xauth

Creating the following link is a workaround for the problem:

ln -s /usr/bin/xauth /usr/X11R6/bin/xauth


The location of xauth may have changed in xbase-clients 1:7.0.0-1.

Maybe a fix would be to add /usr/bin/xauth to the places that gksu looks
for xauth or to just rely on the path to contain xauth in the first
place.

Please let me know in case more information is required.

Please note that #349652 may be related to this.

Best regards,
Andree

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gksu depends on:
ii  gconf2                      2.14.0-1     GNOME configuration database syste
ii  libatk1.0-0                 1.11.4-1     The ATK accessibility toolkit
ii  libc6                       2.3.6-6      GNU C Library: Shared libraries
ii  libcairo2                   1.0.4-1      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.3.2-5.1    generic font configuration library
ii  libfreetype6                2.1.10-3     FreeType 2 font engine, shared lib
ii  libgconf2-4                 2.14.0-1     GNOME configuration database syste
ii  libgksu1.2-0                1.3.7-1      library providing su and sudo func
ii  libgksuui1.0-1              1.0.7-1      a graphical fronted to su library
ii  libglib2.0-0                2.10.2-1     The GLib library of C routines
ii  libgnome-keyring0           0.4.9-1      GNOME keyring services library
ii  libgtk2.0-0                 2.8.16-1     The GTK+ graphical user interface 
ii  liborbit2                   1:2.14.0-1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.12.0-2     Layout and rendering of internatio
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters
ii  libx11-6                    2:1.0.0-5    X11 client-side library
ii  libxcursor1                 1.1.5.2-2    X cursor management library
ii  libxext6                    1:1.0.0-3    X11 miscellaneous extension librar
ii  libxi6                      1:1.0.0-3    X11 Input extension library
ii  libxinerama1                1:1.0.1-2    X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-3  X11 RandR extension library
ii  libxrender1                 1:0.9.0.2-2  X Rendering Extension client libra
ii  sudo                        1.6.8p12-3   Provide limited super user privile
ii  zlib1g                      1:1.2.3-11   compression library - runtime

gksu recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list