1

在 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'

我正在使用 putty,并且启用了 X11 转发,如下图所示:

腻子设置

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

4

0 回答 0