This is the mail archive of the
mailing list for the Cygwin project.
'screen' dies when ssh session to cygwin disconnected
- From: Ilya Dogolazky <ilya dot dogolazky at nokia dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 05 Feb 2012 10:45:49 +0200
- Subject: 'screen' dies when ssh session to cygwin disconnected
The issue discussed in a 3 years old thread  is still valid (on a
fresh cygwin installation), and I think this issue is a cygwin specific
one. Any help or workarounds are very welcome. Here is how to reproduce
1. Install cygwin, with screen and ssh daemon on a Windows machine
2. Install the openssh ssh client on a GNU/Linux machine
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)
1. Orphaned screen session is detached and capable to accept new
1. The screen session in question is visible, but labeled as "dead?",
when "screen -ls" executed .
2. It's not possible to connect to it (screen -x is just hanging
forever, no output visible).
3. It's possible to get rid of the dead session with "screen -wipe".
1. Pretty often, but not always: 50-60%,
1. Why it seems to be a cygwin-specific issue? I'm using the same setup
with a Debian GNU/Linux machine (with the same screen configuration
file) since years and I never observed such a behaviour.
1. cygcheck.out: the output of cygcheck -srv (couple of company specific
2. screenrc: the copy of .screenrc from my home directory on the Windows
Thanks a lot for any help in advance,
-- Ilya Dogolazky
Description: Text document
Description: Binary data
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple