Skip to content Skip to main navigation Skip to footer

解决”/bin/dbus-launch terminated abnormally without any error message“错误信息的问题

当在redhat或者centos系统下运行下面的命令的时候会遇到下面的错误信息,百度之后发下是redhat/centos的bug,那么如何来修复呢?

ssh -X
firefox &

错误信息为:
[cc lang=”php”] **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)
[/code] 首先要通过yum命令安装D-Bus和Fonts包:
[cc lang=”php”] [root@devops ~]# yum install dbus-x11
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
base                                                                      | 3.7 kB     00:00     
extras                                                                    | 3.4 kB     00:00     
gf                                                                        | 2.9 kB     00:00     
updates                                                                   | 3.4 kB     00:00     
updates/primary_db                                                        | 3.1 MB     00:03     
Setting up Install Process
Resolving Dependencies
Dependencies Resolved
=================================================================================================
 Package                  Arch              Version                        Repository       Size
=================================================================================================
Installing:
 dbus-x11                 x86_64            1:1.2.24-7.el6_3               base             40 k
Installing for dependencies:
 dbus                     x86_64            1:1.2.24-7.el6_3               base            207 k
 libX11                   x86_64            1.5.0-4.el6                    base            584 k
 libX11-common            noarch            1.5.0-4.el6                    base            192 k
 libXau                   x86_64            1.0.6-4.el6                    base             24 k
 libxcb                   x86_64            1.8.1-1.el6                    base            110 k
Updating for dependencies:
 dbus-libs                x86_64            1:1.2.24-7.el6_3               base            127 k
Transaction Summary
=================================================================================================
Install       6 Package(s)
Upgrade       1 Package(s)
Total download size: 1.3 M
Is this ok [y/N]:
[/code] 再安装Fonts包,输入下面的命令:
[cc lang=”php”] [root@devops ~]# yum groupinstall ‘Fonts’
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Group Process
Checking for new repos for mirrors
base/group_gz                                                        
Resolving Dependencies
[/code] 当安装了这两个包后,问题就应该能解决了。

0 Comments

There are no comments yet

Leave a comment

Your email address will not be published.