I've installed SSH Secure Shell and xming on my laptop running Windows 7 (64-bit). I'm having trouble starting X Windows applications from the SSH console. I've been able to do it in the past. I've pretty much determined that it's not a server issue because I've tried it on two different servers (both servers are running RHEL 5).
Running "echo $DISPLAY" on either server gave me "localhost:10.0".
My XLaunch configuration settings are: Multiple Windows, 10 (display number), and Start no client. Once xming has launched, I'll try to execute something like "firefox" and I get this back:
The application 'firefox' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application.
I've already checked to make sure that the X server is running and it is:
root 12579 2689 0 Feb14 tty7 00:04:23 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
Additionally, X11 Tunneling has been enabled in SSH as well as SSH 2 connections.
Check if ssh server is configured to allow X11Forwarding and that the ssh client has created the tunnel. The X server running on remote machine (I mean /usr/bin/Xorg) is not used when you need to display the X application on your desktop - you can even stop it.
What ssh client are you using? Can you add to your question the detailed log of the SSH client?
The solution from the comments