Subject: Re: bug#7249: GConf errors when emacs is launched as root via "su"
From: Jan Djärv <[email-masked]>
To: Rob Browning <[email-masked]>
Cc: Vincent Lefevre <[email-masked]>, [email-masked], [email-masked], [email-masked]
Date: Wed, 20 Oct 2010 08:09:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

2010-10-20 05:39, Rob Browning skrev:
>
> Launching an emacs built with gconf support as root via "su" (not "su
> -"), produces this error:
>
>    # emacs --version
>    GNU Emacs 23.2.1
>    Copyright (C) 2010 Free Software Foundation, Inc.
>    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
>    You may redistribute copies of Emacs
>    under the terms of the GNU General Public License.
>    For more information about these matters, see the file named COPYING.
>
>    # emacs -Q
>    GConf Error: 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.)
>
> Is this the expected behavior?
>

I think it is.  It is a GConf limitation/bug.  su followed by for example 
gedit or gnome-help gives the same error.  A bug report to GConf might be in 
order.

	Jan D.