Bug#712104: gnome-terminal: gksu gnome-terminal doesn't start in certain conditions

Michael Biebl biebl at debian.org
Thu Jun 13 02:09:43 UTC 2013


Am 13.06.2013 03:30, schrieb Ovidiu Angelescu:
> Package: gnome-terminal
> Version: 3.8.3-1
> Severity: important
> 
> Hello,
> I have done a dist-upgrade against sid in a virtual machine.
> Previous gnome-terminal was 3.4.2-1 and it worked ok.
> Now in sid we have 3.8.3 and when launch it from gnome menus as Root Terminal
> it starts.
> If closing launched gnome-terminal window and trying to restart ... no gnome-
> terminal window is started.
> If I logout and login again gnome-terminal starts as root using gksu but it's
> the same as before logout.
> It's not a gksu bug because in LXDE when gksu starts lxterminal all is ok.
> Also I have removed gnome-terminal 3.8.3-1 and reinstalling old 3.4.2-1 all was
> ok.
> If starting gksu gnome-terminal from a regular user terminal the following
> error messagge is there when gnome-terminal doesn't start:
> (gksu:791): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
> Also if launching gksu xterm all is ok.
> If launching gksu gnome-terminal from an rgular user xterm console .. same
> error message.
> (gksu:791): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed

This sounds like a bug in gksu, not clearing the environment properly,
so the root gnome-terminal is (re)using the users session bus, where
org.gnome.Terminal is already taken.

If you try
# unset DBUS_SESSION_BUS_ADDRESS
# gksu gnome-terminal

does it run correctly?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130613/4acb407e/attachment.sig>


More information about the pkg-gnome-maintainers mailing list