从终端打开软件时遇到问题(包括 wireshark 和 gedit)

从终端打开软件时遇到问题(包括 wireshark 和 gedit)

我正在使用 Ubuntu 14.10,从终端打开软件时出错。例如:

build@build:/usr/local/bin$ sudo wireshark
gdk_mir_display_open
Failed to connect to Mir: Failed to connect to server socket: No such file or directory

(wireshark:4309): Gtk-WARNING **: cannot open display: 

build@build:~$ sudo gedit &
[1] 4321
build@build:~$ gdk_mir_display_open
Failed to connect to Mir: Failed to connect to server socket: No such file or directory

(gedit:4322): Gtk-WARNING **: cannot open display: 

我在网上找不到任何解决此类错误的方法。请帮忙!

相关内容