Reattaching self to screen - Linux/Ubuntu

4

2

I occasionally use screen within linux.

Every now and then my connection plays up and I lose access to the ssh shell, when I try to reattach myself to the screen instance this is what I get:

There is a screen on:
     2690.pts-0.localhost    (09/03/10 12:56:08)     (Attached)
There is no screen to be resumed.

Any idea what I could do in this case? I guess screen believes I'm still attached, while I'm not.

:)

RadiantHex

Posted 2010-09-03T13:28:00.563

Reputation: 469

Answers

5

In this case try:

% screen -x 2690.pts-0.localhost

dtlussier

Posted 2010-09-03T13:28:00.563

Reputation: 1 985

2

Simpler would be

screen -d -r

garyjohn

Posted 2010-09-03T13:28:00.563

Reputation: 29 085