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

by on March 23, 2014 · 3 comments· LAST UPDATED March 23, 2014

in , , , ,

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 user@server1.cyberciti.biz
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?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsNone
Estimated completion time5m
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 user@server1.cyberciti.biz
$ xeyes
$ firefox

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 Jalal Hajigholamali March 24, 2014 at 9:23 am

Hi,

Thanks…

useful help ….

Reply

2 Rohit Mane June 9, 2014 at 1:55 pm

how to use smtp?

Reply

3 Rohit Mane June 9, 2014 at 1:55 pm

how to use smtp

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: