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.

:)

link|improve this question

79% accept rate
feedback

2 Answers

up vote 2 down vote accepted

In this case try:

% screen -x 2690.pts-0.localhost
link|improve this answer
Excellent thanks! =) – RadiantHex Sep 3 '10 at 13:39
I'll tick it when the timer goes down :P – RadiantHex Sep 3 '10 at 13:40
feedback

Simpler would be

screen -d -r
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.