Nedit over SSH
I do this all the time with Cygwin on an XP machine.
Things to ensure are that X is running on the local machine. X is not part of Windows, so I use the Cygwin/X package. To do that from WinXP/Cygwin, I do this:
"startxwin.bat" from a bash shell in Cygwin.
I get this....
startxwin.bat - Starting on Windows NT/2000/XP/2003
Then an xterm also launches where I can do the following:
From the machine I'm sitting in front of (WinXP box) I do this in the xterm:
at Cygwin xterm prompt, type "xhost +" (to enable all hosts XDMCP)
ssh to Linux machine I want to run the X application from
at Linux prompt, type "export DISPLAY=<hostname>:0.0"
then I can just type "nedit" and nedit will come up.
P.S. All the stuff from the xterm onward also works from a Unix or other Linux client in whatever X Terminal program you're using (Gnome Terminal or Konsole), exact same syntax. Also, any program that runs in the windowing environment that you can launch from the command line are also candidates for the same type of use.
Last edited by networkr; 04-07-2008 at 09:21 PM.
Reason: adding some addl info