This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'screen' dies when ssh session to cygwin disconnected


On 2/5/2012 12:45 AM, Ilya Dogolazky wrote:
> STEPS LEADING TO PROBLEM:
> 
> 1. Open a command line window in Windows (the standard one or rxvt: I
> tried both: no difference), then either detach from the session or not
> (I tried both: no difference)
> 
> 2. Connect to the Windows machine from a linux machine as follows:
> ssh win_host -t screen -R -D (instead of "-R -D" the option "-x" could
> be used, I tried both: no difference)
> 
> 3. After a while terminate the connection in some brutal way (in my case
> the vpn tunnel to the private company network is pretty unstable and
> terminating from itself frequently)

A work-around is to send the parent screen process a HUP signal. You
should then be able to reattach.

-- 
David Rothenberger  ----  daveroth@acm.org

algorithm, n.:
        Trendy dance for hip programmers.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]