Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

:)

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

In this case try:

% screen -x 2690.pts-0.localhost
share|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
add comment

Simpler would be

screen -d -r
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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