Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348531 - app-editors/gedit-2.30.4 crash when attempt to use it from root
Summary: app-editors/gedit-2.30.4 crash when attempt to use it from root
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 16:21 UTC by jeff
Modified: 2010-12-14 13:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jeff 2010-12-12 16:21:49 UTC
When search to use gedit 2.30.4 from root i receive this message:

(gedit:14253): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

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


Reproducible: Always

Steps to Reproduce:
1. Login as root with su
2. Try to open some file
Comment 1 Mart Raudsepp gentoo-dev 2010-12-13 03:58:16 UTC
I think this would work if you used "su -" instead of "su", though not sure of the reasons/details here.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-14 13:05:09 UTC
this is a problem of environment re-initialization. You either have too much variables unset or not enough so gedit does not have a coherent environment to work with and does stupid things which makes it not work.

From the log lines, you should verify that DISPLAY, XAUTHORITY and DBUS_SESSION_BUS_ADDRESS variables are set before starting gedit.

In any case, this is a configuration issue, not an application problem.