Redirecting linux graphical output to windows Cygwin
I had to do this at work and thought it might be helpful to some people.
First download and setup Cygwin on your windows machine...
Make sure that when you are selecting the packages to download that you change the X11 category from default to install. Otherwise it will skip all of the X11 stuff(i think).
Second, nopen up startxwin.bat( located in c:\cygwin\usr\X11\bin by default) as follows:
SET CYGWIN_ROOT=\cygwin to
SET CYGWIN_ROOT=[cygwin install directory]
Example: SET CYGWIN_ROOT=C:\cygwin\
Add: -swcursor to the line:
run XWin -multiwindow -clipboard -silent-dup-error
so that it looks like this
run XWin -multiwindow -clipboard -silent-dup-error swcursor
Add: run xhost + under the run XWin line
Type: REM on the line:
run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bgblack - e /usr/bin/bash l
(^ one line...)
save these changes and double click startxwin.bat.
Now telnet or ssh into the remote linux/unix machine and type:
export DISPLAY=<your ip or host name>:0.0
and easy way to test is to just type xterm from the remote unix/linux machine. This should bring up a terminal on your windows machine.