[MonoDevelop] Problem running MonoDevelop in Super User mode

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Dec 10 15:02:23 EST 2009


On Sun, Dec 6, 2009 at 12:36 AM, jgompert <joshua.gompert at joshnet.org> wrote:
>
> Mono Develop crashes every time I try to open a file while running under in
> Super User mode.  The first error message I get is this:
>
> System.Reflection.TargetInvocationException: Exception has been thrown by
> the target of an invocation. ---> GLib.GException: Failed to contact
> configuration server; some possible causes are that you need to enable
> TCP/IP networking for ORBit, or you have stale NFS locks due to a system
> crash. See http://projects.gnome.org/gconf/ for information. (Details -  1:
> Failed to get connection to session: Did not receive a reply. Possible
> causes include: the remote application did not send a reply, the message bus
> security policy blocked the reply, the reply timeout expired, or the network
> connection was broken.)
>  at GConf.Client.Get (System.String key) [0x00000]
>  at MonoDevelop.Platform.GnomePlatform.get_DefaultMonospaceFont ()
> [0x00000]

Running as root, MD cannot access your GNOME session's gconf daemon to
read preferences. This shouldn't crash though, so please file a bug.

...
> After that I get about 5 more error messages and then the whole program
> shuts down.  Does anyone know how to fix this?

File bugs and/or patches.

Though as Chris said, running is root is generally a bad idea.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list