```eog new.pngįailed to connect to Mir: Failed to connect to server socket: No such file or directory I also have the same error and setting DISPLAY won't fix it. Force quitting XMing and restarting fixed the issue without changing anything. In Putty, my X11 location is set to `localhost:0.0`. I had no idea why `$DISPLAY` would output `localhost:10.0` either. X-forwarding was always working until it stopped for unknown reasons. In my case, I needed to restart XMing on Windows. In my case it was just a matter of upgrading the XQuartz version of MacOS (Or I'll accept a new answer if someone else takes the time to explain both.)
Note that I'm ready to accept DefK's answer, after it's modified to include both enabling X11 forwarding and installing base-clients. (Check that `$DISPLAY` is set on the terminal you run ssh **from**.
Xming putty can't open display mac#
Maybe try passing the -vv option to ssh when you connect, this prints verbose debug messages, you should see several comments about X11 forwarding while You did check the `X11Forwarding` on the ubuntu one, and that you have `xbase-clients` installed and that you can start Xapps on the mac on the terminal you're making ssh connection from. Just to be sure, I restarted the VM (and reconnected through SSH afterward). I installed it but still have the same problem.
Xming putty can't open display install#
Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem.ĭoes the Ubuntu 10.04 box have the proper tools for X11 installed? Install xbase-clients, if it isn't installed already.
What could be different in the configuration of the two difference Ubuntu machines that would explain why one works and the other doesn't? bashrc, but I get: (gedit:9625): Gtk-WARNING **: cannot open display: localhost:10.0 I tried export DISPLAY=localhost:10.0 while sshed into my VM and then running gedit. bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display:īut if I ssh -Y into my Ubuntu 11.04 machine, gedit. After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, I then ssh -Y to my Ubuntu 10.04 VM (running on VMware Fusion).