X11 port forwarding with ssh to a VMWare Windows workstation running cygwin!

From: Shankar (SNeelakantan_C@zaplet.com)
Date: 06/28/02


From: SNeelakantan_C@zaplet.com (Shankar)
Date: 27 Jun 2002 20:26:55 -0700

Aim: To invoke a GUI application on a VMWare windows workstation from
a linux box L and view the display on L.

I have Cygwin setup on the Vmware windows workstation and Cygwin's
sshd is running on this VMWare windows machine. This lets me ssh to
the windows machine from any machine.

I have X server running on linux box L and cygwin's X emulation
running on the VMWare windows workstation.
On the VMWare windows workstation, I do an 'xhost +'
Next, I set DISPLAY on the linux box to :0.0 and then try X11 port
forwarding over ssh like this:

ssh -o ForwardX11=yes -X
<user@vmware-windows-host-running-cygwin's-sshd-and-cygwin's-X-emulation>
'/usr/X11R6/bin/xlogo'

I expected ssh to fake an Xserver on the windows box and tunnel the
display back to wherever $DISPLAY was set on my linux box.
But that did not work ... can anyone tell me why?
..or offer an alternate solution.

Is this a cygwin problem or vmware problem or 'ssh on cygwin'
problem??

-Shankar



Relevant Pages