This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Shutting down XWin after session? (-once option)
- From: Boscolio <bigman at mn dot rr dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 14 Mar 2006 21:10:52 -0800 (PST)
- Subject: Re: Shutting down XWin after session? (-once option)
- References: <3409204.post@talk.nabble.com> <44179788.3050503@gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
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/