我从Tiger VNC服务器(版本tigervnc-server-1.1.0-5.el6_4.1.x86_64)的日志文件中得到这个错误:
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: Failed to connect to socket /tmp/dbus-Auq6xEVNZb: Connection refused) (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-Auq6xEVNZb: Connection refused)GConf warning: failure listing pairs in `/apps/nautilus/desktop-metadata': 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: Failed to connect to socket /tmp/dbus-Auq6xEVNZb: Connection refused)
当我重新启动服务器,它的工作很好,但一段时间后,它开始失败,当我连接没有桌面,有一个popup窗口出现和消失。
我最近已经错误地删除了/ tmp目录,这可能是问题的根源吗? 这怎么解决?
此问题也导致磁盘使用问题,因为此日志文件始终在增长,这似乎与持续的错误状态有关。
谢谢!
这是通过创build一个目录/ tmp / dbus-Auq6xEVNZb(它在每个服务器上不同,需要检查错误并查看VNC服务器尝试访问的path)来解决。 这个命令是:
mkdir -p /tmp/dbus-Auq6xEVNZb
看来另一种解决scheme可能是修改〜/ .dbus目录所有权( https://bugs.launchpad.net/ubuntu/+source/gconf/+bug/367169 )。
编辑 :重新启动后,此解决scheme不再工作。 我也尝试删除/ tmp /(不是目录本身)的内容,并将所有权改为dbus用户,但是它也不起作用。
编辑2 :重新安装dbus已经工作。 我不再有这些错误。