Fix: /bin/dbus-launch terminated abnormally without any error message and solution

Posted on in Categories , , , , last updated March 23, 2014

I am a new Linux server user. I need to tunnel X over ssh. I type the following command on a CentOS/RHEL based remote host to get display on a local desktop:

ssh -X [email protected]
xeyes &
firefox &

But, I am getting an error that read as follows:

**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: /bin/dbus-launch terminated abnormally without any error message)

How do I fix this error on a newly formatted/installed RHEL or CentOS Linux 6.x server?

You need to install D-Bus. It is nothing but a message bus system, a simple way for applications to talk to one another. In addition to interprocess communication, D-Bus helps coordinate process lifecycle; it makes it simple and reliable to code a “single instance” application or daemon, and to launch applications and daemons on demand when their services are needed. You also need to install Fonts on a CentOS/RHEL based system.

To fix /bin/dbus-launch terminated abnormally without any error message on a CentOS/RHEL

Type the following yum command to install D-Bus and Fonts:
$ sudo yum install dbus-x11
Sample outputs:

Loaded plugins: downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.tummy.com
 * epel: mirror.steadfast.net
 * extras: centos-mirror.jchost.net
 * updates: centos.hostingxtreme.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dbus-x11.x86_64 1:1.2.24-7.el6_3 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
===========================================================================================================
 Package                 Arch                  Version                           Repository           Size
===========================================================================================================
Installing:
 dbus-x11                x86_64                1:1.2.24-7.el6_3                  base                 40 k
 
Transaction Summary
===========================================================================================================
Install       1 Package(s)
 
Total download size: 40 k
Installed size: 28 k
Is this ok [y/N]: y
Downloading Packages:
dbus-x11-1.2.24-7.el6_3.x86_64.rpm                                                  |  40 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:dbus-x11-1.2.24-7.el6_3.x86_64                                                        1/1 
  Verifying  : 1:dbus-x11-1.2.24-7.el6_3.x86_64                                                        1/1 
 
Installed:
  dbus-x11.x86_64 1:1.2.24-7.el6_3                                                                         
 
Complete!

To install Fonts, type:
$ sudo yum groupinstall 'Fonts'

Now, you can run and tunnel X over ssh:
$ ssh -X [email protected]
$ xeyes
$ firefox

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

4 comment

Leave a Comment