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

文章分类 osetc 664℃ 0评论

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

ssh -X
firefox &

错误信息为:

1
**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)

首先要通过yum命令安装D-Bus和Fonts包:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[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]:

再安装Fonts包,输入下面的命令:

1
2
3
4
5
6
7
8
9
10
[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

当安装了这两个包后,问题就应该能解决了。

转载请注明:osetc.com » 解决”/bin/dbus-launch terminated abnormally without any error message“错误信息的问题

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址