Thusfar I've tried programs that should quit right away (i.e. firefox, bnr2, etc).
I just realized that I was doing something a bit convoluted and simplified it. I now only need a batch file to do what I have been doing. So my batch file just runs XWin, then runs ssh to connect to my Linux computer. I'm pretty novice at Linux, so I looked around until I figured out how to execute a program through ssh with a single command. The line in my batch file looks like: %RUN% ssh -Y -l username linuxmachine "(programtorun)" Watching my processes in windows, when I close the forwarded app ssh.exe also closes. So it's not like ssh is still connected and keeping XWin alive. -- View this message in context: http://www.nabble.com/Shutting-down-XWin-after-session-%28-once-option%29-t1282431.html#a3410262 Sent from the cygwin-xfree forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/