/bin/dbus-launch terminated abnormally without any error message

时间:2019-11-20 08:53:29  来源:igfitidea点击:

通过SSH X隧道执行图形界面程序时,报错:

ssh -X [email protected] xeyes & firefox &

报错信息:

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)

该怎么处理?

解决方案

需要安装D-Bus。它是消息总线系统,这是应用程序相互通信的一种简单方法。除了进程间通信外,D-Bus还可以帮助协调过程生命周期。

安装D-Bus

执行以下yum命令以安装D-Bus:

$ sudo yum install dbus-x11

安装字体:

$ sudo yum groupinstall 'Fonts'

重新通过ssh X隧道运行程序:

$ ssh -X [email protected]
$ xeyes
$ firefox