Using CentOS 5, I have a screen session running and I often reattach to it after a day or two with the usual:

screen -r <sockname>

The session reattaches fine, and runs fine (I can see output from ongoing processes happening in the background) but I can't enter in any commands... Does anyone have any tips for getting screen sessions to start accepting your commands again?

Note that I can enter C- commands successfully, I.E. C-d detaches the session, C-[ enters copy mode - k,l then scroll through the buffer. I simply can't enter in any system commands, like ps etc.

link|improve this question
feedback

1 Answer

You may need to detach any existing sessions in order to take the write lock for the session. For example, screen -d -r

link|improve this answer
Thanks Tom, will give that syntax a try next time it occurs and update the question status. – Allen Jun 7 '11 at 4:34
feedback

Your Answer

 
or
required, but never shown

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