在Ubuntu 16.04上运行融合时遇到错误

时间:2018-11-13 12:35:49

标签: ubuntu meld xming

在ubuntu 16.04上重新安装了Meld(3.14.2-1),然后运行它会出现以下错误。

$ meld
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(meld:17993): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
  File "/usr/bin/meld", line 282, in <module>
    setup_resources()
  File "/usr/bin/meld", line 191, in setup_resources
    Gtk.IconTheme.get_default().append_search_path(icon_dir)
AttributeError: 'NoneType' object has no attribute 'append_search_path'

我正在使用腻子,并且X11转发已启用,如下图所示:

putty settings

另外Xming也正在运行。而且,如果我从另一台14.04 ubuntu机器上运行融合,则工作正常。实际上,我想将meld作为git的图形工具添加,并面对这个问题。

0 个答案:

没有答案