Problem opening XWindows programs with xming and SSH Secure Shell

Posted by Brian on Server Fault See other posts from Server Fault or by Brian
Published on 2011-04-12T18:38:33Z Indexed on 2012/06/29 15:18 UTC
Read the original article Hit count: 306

Filed under:

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.

© Server Fault or respective owner

Related posts about x-windows