ssh
与X11转发一起使用时,在运行gui应用程序时出现各种错误和警告。
例如,任何时候我运行gitg,都会收到以下警告:
** (gitg:15904): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ychCoQcrqT: Connection refused
除了难看之外,这是否暗示了任何真正的错误?
我收到同样的警告运行证据:
** (evince:16634): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ychCoQcrqT: Connection refused
...或eog:
** (eog:16872): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-ychCoQcrqT: Connection refused
等等。
也许值得一提:我正在从12.04连接到(是,不受支持)13.04。
这可能与找不到dbus的问题有关。看一下这个:unix.stackexchange.com/a/188877/32769(使SSH正确使用dbus的shell代码)
—
Pablo Saratxaga