delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/05/15:27:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4F2EE611.60806@acm.org>
Date: Sun, 05 Feb 2012 12:26:57 -0800
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 'screen' dies when ssh session to cygwin disconnected
References: <4F2E41BD DOT 1000203 AT nokia DOT com>
In-Reply-To: <4F2E41BD.1000203@nokia.com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT acm DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019