Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289261 - starting gedit, nautilus, etc as 'su' results in Gconf Error: possible lost connection TCP/IP to ORBit
Summary: starting gedit, nautilus, etc as 'su' results in Gconf Error: possible lost c...
Status: RESOLVED DUPLICATE of bug 286577
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-16 00:18 UTC by Robert Golding
Modified: 2009-10-16 21:58 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 Robert Golding 2009-10-16 00:18:26 UTC
I re-built my os as multilib-amd64 and then whenever I started either gedit or nautilus under 'su' or with 'sudo' they wouldn't start with error message;

------>this is a terminal started as user then 'su' to root-->
one rob # nautilus --no-desktop --browser &
[1] 17394
one rob # 
(nautilus:17394): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


(nautilus:17394): Eel-WARNING **: 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.)

(nautilus:17394): Eel-WARNING **: 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.)

(nautilus:17394): Eel-WARNING **: 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.)
GConf warning: failure listing pairs in `/apps/nautilus/preferences': 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.)GConf warning: failure listing pairs in `/desktop/gnome/file_views': 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.)GConf warning: failure listing pairs in `/desktop/gnome/background': 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.)GConf warning: failure listing pairs in `/apps/nautilus/desktop': 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.)GConf warning: failure listing pairs in `/apps/nautilus/icon_view': 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.)
(nautilus:17394): Unique-DBus-WARNING **: Unable to open a connection to the session bus: 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.

(nautilus:17394): Unique-DBus-WARNING **: Unable to connect to the running instance, aborting.

[1]+  Done                    nautilus --no-desktop --browser
----->

Reproducible: Always

Steps to Reproduce:
1.Open xterm on desktop
2.'su' to root user
3.start nautilus as file manager

Actual Results:  
error message as above

Expected Results:  
nautilus opening as 'root' capable for various actions

I have searched extensively through the forums and bugs but found nothing even similar in bugs (nothing new there, search in bugzilla doesn't like me).

Found quite a few similar errors reported in the forums, however none have given me a useable solution.  I have listed just three of them in the URL area above.

I will attach 'emerge --info' in next step.
Comment 1 Robert Golding 2009-10-16 00:19:35 UTC
My 'emerge --info'

one rob # emerge --info
Portage 2.2_rc46 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Wed, 14 Oct 2009 00:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://mirror.isp.net.au/ftp/pub/gentoo  http://ftp.swin.edu.au/gentoo  http://gentoo.osuosl.org/  http://distfiles.gentoo.org/distfiles  http://mirror.pacific.net.au/linux/Gentoo  http://mirror.usu.edu/mirrors/gentoo/  http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_AU"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voyageur /usr/portage/local/layman/sunrise /usr/portage/local/layman/desktop-effects /usr/portage/local/robert"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi additions aften aim akamaru alsa amd64 amd64codecs asf audacious audiofile auto-completion automount avi bash-completion bashlogger berkdb bitmap-fonts bittorrent bluetooth bonobo branding browserplugin bzip2 bzlib cairo cd cdparanoia cdr cli corba cracklib crypt cups dbus dca directfb directv disk-partition dlloader dri dv dvb dvd dvdr dvdread eds elf emboss encode epson esd evdev fam fbcon ffmpeg firefox flac fontconfig fortran freetype games gdbm gif gimp glitz gnome gphoto2 gpm grub gstreamer gtk gtk2 hal iconv icq imlib imlib2 inotify ipfilter iproute2 isdnlog java javascript jpeg kernel-linux ldap libg++ lm_sensors mad midi mikmod mjpeg mmx mmxext modules mp3 mpeg mpg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin nv nvidia offensive ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd print python qt3support qt4 quicktime readline reflection remote sane scanner sdl session smp spell spl sse sse2 ssl svg sysfs tcpd tga tiff totem truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wma wmf wmv x86_64 xine xml xorg xsane xulrunner xv xvid zlib" ALSA_CARDS="hda-intel hda-nvidia usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" DVB_CARDS="cx18 cx231xx cx23885 ttpci" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU" LIRC_DEVICES="usb" SANE_BACKENDS="net hp canon canon630u" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Robert Golding 2009-10-16 00:25:56 UTC
In one of the forums it was suggested that the person delete the gconf. and orbit. dir's from /tmp, which I tried, however it only lasted as a fix for about one extra xterm session and then returned to its earlier behaviour.

I also started a new user account with vanilla gconf, etc and the behaviour was still there.

I don't know if this is from the change to AMD64+Multilib or the upgrade to Gnome 2.26 or just coincidental to those events.
Comment 3 Robert Golding 2009-10-16 00:32:41 UTC
And finally, my rc-status
----->
one rob # rc-status boot
Runlevel: boot
 hwclock                                                           [  started  ]
 modules                                                           [  started  ]
 device-mapper                                                     [  started  ]
 fsck                                                              [  started  ]
 root                                                              [  started  ]
 mtab                                                              [  started  ]
 localmount                                                        [  started  ]
 hostname                                                          [  started  ]
 sysctl                                                            [  started  ]
 bootmisc                                                          [  started  ]
 swap                                                              [  started  ]
 urandom                                                           [  started  ]
 termencoding                                                      [  started  ]
 keymaps                                                           [  started  ]
 consolefont                                                       [  started  ]
 procfs                                                            [  started  ]
 net.lo                                                            [  started  ]
one rob # rc-status default
Runlevel: default
 dbus                                                              [  started  ]
 hald                                                              [  started  ]
 net.eth0                                                          [  started  ]
 netmount                                                          [  started  ]
 gpm                                                               [  started  ]
 xdm                                                               [  started  ]
 alsasound                                                         [  started  ]
 cupsd                                                             [  started  ]
 http-replicator                                                   [  started  ]
 lm_sensors                                                        [  started  ]
 ntp-client                                                        [  started  ]
 ntpd                                                              [  started  ]
 numlock                                                           [  started  ]
 xinetd                                                            [  started  ]
 local                                                             [  started  ]
one rob # rc-status sysinit
Runlevel: sysinit
 dmesg                                                             [  started  ]
 udev                                                              [  started  ]
 devfs                                                             [  started  ]
----->

I have been trying with, and without, 'acpid' as well, it doesn't seem to change anything to do with this error.  It really doesn't seem to do anything anyway .. maybe I just don't need it on this setup.
Comment 4 Rafał Mużyło 2009-10-16 00:38:49 UTC
While I don't use Gnome, this is INVALID.
If you really need to run those apps as root
(the real question is: why ?), 'su -' should work.
Comment 5 Robert Golding 2009-10-16 13:48:33 UTC
(In reply to comment #4)
> While I don't use Gnome, this is INVALID.
> If you really need to run those apps as root
> (the real question is: why ?), 'su -' should work.
> 
My problem is mainly that sudo does exactly the same thing, I only tried to su to root to see if that made a difference, it didn't.

Oh! and if you don't use Gnome, why are you even looking at this bug! It has to do with Gconf, something particular to Gnome, isn't it?

And as for "why?", that would be to do with freedom, you know, freedom to use this software as I see fit.  Part of the GPL IIRC!
Comment 6 Robert Golding 2009-10-16 14:05:38 UTC
(In reply to comment #4)
>  'su -' should work.
> 

Tried that and it returned with same error, also tried 'su -c "command"' and 'su -c "command" root', the former returned 'unknown user' and the latter the same error as reported originally. I even tried 'su - command' to no avail.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-16 21:58:25 UTC

*** This bug has been marked as a duplicate of bug 286577 ***