Subject: gnome-terminal doesnt start as root with su or gksu<br>Package: gnome-terminal<br>Version: 2.22.3-3<br>Severity: normal<br><br>When started using su or gksu, gnome-terminal still start a terminal as user, not root.<br>
As such, the default Gnome menu entry "Root terminal" (which uses gksu) does not work.<br><br>To reproduce, from an existing terminal:<br><br>$ gksu gnome-terminal<br><br>or<br><br>$ su -c gnome-terminal<br><br>
<br>It works fine with sudo or gksudo. xterm starts fine (as root) with su or gksu.<br><br>It seems to have something to do with session management.<br><br>Compare the ouputs when launching xterm and gnome-terminal:<br><br>
***<br><br>$ su -c gnome-terminal<br>Password: <br><br>(gnome-terminal:14343): GnomeUI-WARNING **: While connecting to session manager:<br>Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.<br>
<br><br>$ su -c xterm<br>Password: <br>Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed<br><br>
***<br><br><br>It looks like the same problem happens, but xterm treats it as a warning rather than error.<br><br>Also note that when gnome-terminal fail this way, the "su" command will return, and another user terminal will be launched. Whereas if using sudo the "sudo" command will not return until the newly launched terminal is closed.<br>
<br><br><br>-- System Information:<br>Debian Release: lenny/sid<br> APT prefers unstable<br> APT policy: (500, 'unstable'), (500, 'testing')<br>Architecture: i386 (i686)<br><br>Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/bash<br><br>Versions of packages gnome-terminal depends on:<br>ii gnome-terminal-data 2.22.3-3 Data files for the GNOME terminal <br>
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit<br>ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library<br>ii libc6 2.7-16 GNU C Library: Shared libraries<br>
ii libgconf2-4 2.22.0-1 GNOME configuration database syste<br>ii libglade2-0 1:2.6.3-1 library to load .glade files at ru<br>ii libglib2.0-0 2.16.6-1 The GLib library of C routines<br>
ii libgnome2-0 2.20.1.1-2 The GNOME 2 library - runtime file<br>ii libgnomeui-0 2.20.1.1-2 The GNOME 2 libraries (User Interf<br>ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface <br>
ii liborbit2 1:2.14.16-0.1 libraries for ORBit2 - a CORBA ORB<br>ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio<br>ii libstartup-notification0 0.9-1 library for program launch feedbac<br>
ii libvte9 1:0.16.14-4 Terminal emulator widget for GTK+ <br>ii libx11-6 2:1.1.5-2 X11 client-side library<br>ii libxrender1 1:0.9.4-2 X Rendering Extension client libra<br>
ii scrollkeeper 0.3.14-16 A free electronic cataloging syste<br><br>Versions of packages gnome-terminal recommends:<br>ii yelp 2.22.1-8 Help browser for GNOME 2<br><br>gnome-terminal suggests no packages.<br>
<br>-- no debconf information<br><br>