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 &quot;Root terminal&quot; (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 &quot;su&quot; command will return, and another user terminal will be launched. Whereas if using sudo the &quot;sudo&quot; command will not return until the newly launched terminal is closed.<br>
<br><br><br>-- System Information:<br>Debian Release: lenny/sid<br>&nbsp; APT prefers unstable<br>&nbsp; APT policy: (500, &#39;unstable&#39;), (500, &#39;testing&#39;)<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&nbsp; gnome-terminal-data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.22.3-3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data files for the GNOME terminal <br>
ii&nbsp; libatk1.0-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.22.0-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The ATK accessibility toolkit<br>ii&nbsp; libbonobo2-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.22.0-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bonobo CORBA interfaces library<br>ii&nbsp; libc6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.7-16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GNU C Library: Shared libraries<br>
ii&nbsp; libgconf2-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.22.0-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GNOME configuration database syste<br>ii&nbsp; libglade2-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:2.6.3-1&nbsp;&nbsp;&nbsp;&nbsp; library to load .glade files at ru<br>ii&nbsp; libglib2.0-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.16.6-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The GLib library of C routines<br>
ii&nbsp; libgnome2-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.20.1.1-2&nbsp;&nbsp;&nbsp; The GNOME 2 library - runtime file<br>ii&nbsp; libgnomeui-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.20.1.1-2&nbsp;&nbsp;&nbsp; The GNOME 2 libraries (User Interf<br>ii&nbsp; libgtk2.0-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.12.11-4&nbsp;&nbsp;&nbsp;&nbsp; The GTK+ graphical user interface <br>
ii&nbsp; liborbit2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:2.14.16-0.1 libraries for ORBit2 - a CORBA ORB<br>ii&nbsp; libpango1.0-0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.20.5-3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Layout and rendering of internatio<br>ii&nbsp; libstartup-notification0&nbsp;&nbsp; 0.9-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; library for program launch feedbac<br>
ii&nbsp; libvte9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:0.16.14-4&nbsp;&nbsp; Terminal emulator widget for GTK+ <br>ii&nbsp; libx11-6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2:1.1.5-2&nbsp;&nbsp;&nbsp;&nbsp; X11 client-side library<br>ii&nbsp; libxrender1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:0.9.4-2&nbsp;&nbsp;&nbsp;&nbsp; X Rendering Extension client libra<br>
ii&nbsp; scrollkeeper&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.3.14-16&nbsp;&nbsp;&nbsp;&nbsp; A free electronic cataloging syste<br><br>Versions of packages gnome-terminal recommends:<br>ii&nbsp; yelp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.22.1-8&nbsp;&nbsp; Help browser for GNOME 2<br><br>gnome-terminal suggests no packages.<br>
<br>-- no debconf information<br><br>