OpenSUSE 11.4 sudo launch problem

Hi,

I just upgraded opensuse from version 11.3 to 11.4 using the online method changing the repositories.

But now when i log into my gnome session as “normal user” and open a gnome terminal, then trying to launch a graphic application such as gedit or any other application that relys on X, it returns a problem such as:

GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)

The message can show once or repeat several times.

I didn’t have this problem before.

Thnx.

On 2011-03-16 04:06, yield65 wrote:

> Code:
> --------------------
> GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
>
> --------------------

An assert is something you should immediately report in Bugzilla - but
search first.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

I think you should use the gnomesu / gksu command (kdesu for KDE) instead, which integrates su with the gnome desktop environment instead of CLI su.

If you want to use sudo in the same way I think you should try and use gksudo.

That will take care of exporting / accessing the desktop environment.

You can run those directly instead of opening a terminal.

Cheers.

PS
Some info here: http://www.psychocats.net/ubuntu/graphicalsudo

… and about the security concerns of using it: http://blag.zash.se/2010/07/sudo-gedit-must-die/ and http://www.linuxforums.org/forum/newbie/66310-how-can-you-open-text-editor-sudo.html

Thnx both of you, the gnomesu worked fine i will make use of it from now on to try to avoid more problems.

Regards.