script for remote window?

Les Mikesell les@futuresource.com
Tue Mar 4 19:46:00 GMT 2003


The new -multiwindow mode looks really promising for
occasional access to unix GUI programs from a windows
box.  Is there any way to completely hide the process
of connecting in a batch file or bash script that can
be attached to a windows desktop icon?  That is, it
should start xwin (only) if it isn't already running,
The then ssh the appropriate command to a remote host with
X forwarding.  If ssh keys are in place the window
should just appear without much indication that it is
remote, otherwise it would have to stop for the ssh
password prompt. How can such a script tell at the
batch or bash level if xwin is already running?

---
  Les Mikesell
    les@futuresource.com



More information about the Cygwin-xfree mailing list