[opensuse-factory] evince can't be called as root
[evince 2.32.0-1.1] I'm using KDE on my GNU/Linux box which I've completely updated to factory a few days ago, and calling evince as non-root works just fine. However, calling it as root it aborts with Failed to get bus connection: The connection is closed ** GLib-GIO:ERROR:gdbusconnection.c:2152:initable_init: assertion failed: (connection->initialization_error == NULL) Is this a known problem? Werner -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Werner LEMBERG <wl@gnu.org> [2010-11-21 08:08]:
[evince 2.32.0-1.1]
I'm using KDE on my GNU/Linux box which I've completely updated to factory a few days ago, and calling evince as non-root works just fine. However, calling it as root it aborts with
Failed to get bus connection: The connection is closed ** GLib-GIO:ERROR:gdbusconnection.c:2152:initable_init: assertion failed: (connection->initialization_error == NULL)
Is this a known problem?
Yes, glib seems to have changed behavior and this assertion is triggered when DBUS_SESSION_BUS_ADDRESS is set to another user's bus, as a workaround unset this envvar. See my comment on https://bugzilla.novell.com/show_bug.cgi?id=648558#c4 , I should open a separate bug and investigate a bit more. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Failed to get bus connection: The connection is closed ** GLib-GIO:ERROR:gdbusconnection.c:2152:initable_init: assertion failed: (connection->initialization_error == NULL)
Is this a known problem?
Yes, glib seems to have changed behavior and this assertion is triggered when DBUS_SESSION_BUS_ADDRESS is set to another user's bus, as a workaround unset this envvar.
Thanks, this works. Werner -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Guido Berhoerster wrote:
[evince 2.32.0-1.1]
I'm using KDE on my GNU/Linux box which I've completely updated to factory a few days ago, and calling evince as non-root works just fine. However, calling it as root it aborts with [...] Yes, glib seems to have changed behavior and this assertion is
* Werner LEMBERG <wl@gnu.org> [2010-11-21 08:08]: triggered when DBUS_SESSION_BUS_ADDRESS is set to another user's bus, as a workaround unset this envvar. See my comment on
- don't run evince as root - always use "su -" instead of "su" to get a clean environment cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Ludwig Nussel <ludwig.nussel@suse.de> [2010-11-22 08:24]:
Guido Berhoerster wrote:
[evince 2.32.0-1.1]
I'm using KDE on my GNU/Linux box which I've completely updated to factory a few days ago, and calling evince as non-root works just fine. However, calling it as root it aborts with [...] Yes, glib seems to have changed behavior and this assertion is
* Werner LEMBERG <wl@gnu.org> [2010-11-21 08:08]: triggered when DBUS_SESSION_BUS_ADDRESS is set to another user's bus, as a workaround unset this envvar. See my comment on
- don't run evince as root - always use "su -" instead of "su" to get a clean environment
- use sudo While the above is true, glib should handle an invalid environment variable gracefully and not abort due to a failed assertion. Currently this e.g. also affects to yast when called by xdg-su (which uses xterm+su without '-' and thus does not start a login shell). I'll file a bug against glib shortly. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
- use sudo
Sorry, but NEVER EVER run X applications with sudo ... -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2010-11-22 at 22:00 +0100, Pavol Rusnak wrote:
- use sudo
Sorry, but NEVER EVER run X applications with sudo ...
You should explain that in the forums, because the most popular advice is sudo this, sudo that. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzrAQYACgkQtTMYHG2NR9VctwCffiiPgMpFrYujP4aXfuKTyphD s/cAoImuKx1ZrYGQdg1cpA7ZMyXIZxZ0 =wevL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 23/11/10 00:47, Carlos E. R. wrote:
- use sudo
Sorry, but NEVER EVER run X applications with sudo ...
You should explain that in the forums, because the most popular advice is sudo this, sudo that.
That's up for the people that hang around on forums. My playground are mailinglists. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2010-11-23 at 12:06 +0100, Pavol Rusnak wrote:
Sorry, but NEVER EVER run X applications with sudo ...
You should explain that in the forums, because the most popular advice is sudo this, sudo that.
That's up for the people that hang around on forums. My playground are mailinglists.
No, it is the responsibility of opensuse members to help others in the media they use most - it must be somewhere in the statutes >:-) It has NNTP access, you know. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkzr/74ACgkQtTMYHG2NR9VhMACaAzY94GRQ0luHx5kxaKy8qaZz 5fcAn3bkXneHWOvIGejz7lB0/vLqmKF/ =x1G9 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Pavol Rusnak <prusnak@opensuse.org> [2010-11-22 21:59]:
- use sudo
Sorry, but NEVER EVER run X applications with sudo ...
Pardon my ignorance, but why (as long as you use a login shell)? su only propagates DISPLAY and XAUTHORITY. xdg-su is broken in this regard as it preserves the environment when using plain su. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 22 novembre 2010, à 20:31 +0100, Guido Berhoerster a écrit :
I'll file a bug against glib shortly.
Please file it directly upstream, if possible. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (7)
-
Carlos E. R.
-
Carlos E. R.
-
Guido Berhoerster
-
Ludwig Nussel
-
Pavol Rusnak
-
Vincent Untz
-
Werner LEMBERG