Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 5 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

Simpler would be

screen -d -r
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .