How to get a screen running in cygwin

I am trying to run the screen (version 4.0) in the latest version of Cygwin under the 64-bit version of Windows Ultimate and it does not want to work. I am starting a new screen session using "screen -d -m -S screen1". When I connect to it using something like "screen -A -dr screen1", the process freezes. When I list screens with "screen -list", it displays as "possibly dead."

Any idea how to make the screen work in my environment?

+6
source share
2 answers

I just ran the same commands as you and had similar problems. But I use the screen under 64-bit Windows 7 all the time.

I just use screen to start a screen session and screen -dr to reconnect to the same session later. (I actually used screen -U and screen -drU , but I just realized that with defutf8 on in my $HOME/.screenrc -U not required.)

I did not understand why your approach does not work.

+4
source

I'm currently trying to get the on-screen job of installing cygwin on a Windows Server 2008 installation.

It works in principle, so I can reuse the sessions, but its pretty buggy:

1.) only sessions launched through an rdp session (on the Windows desktop) have access to connected network resources, sessions launched through ssh can only access "c". (okey is not really a screen error, more cygwin in general)

2.) Detachment does not work through ssh. strg + a + d just freezes the terminal using these keys in this sequence: [strg + z, bg,%, strg + c] I can return to the screen session I last visited.

3.), this leads to a funny state that I can use one screen session several times and see the input and output in all instances

+1
source

Source: https://habr.com/ru/post/896266/


All Articles