I am using Ubuntu 14.10 and I am having errors opening softwares from the terminal. For example:
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:
and
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:
I was not able to find any solution for these kind of errors on the internet. Kindly help out!