Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot detach screen session

Tags:

I am very new to screen and I have hit C-Something instead of C-a. Now I cannot detach or do any other commands. What can I do to detatch my screen session?

like image 270
Eduardo Avatar asked Feb 10 '09 00:02

Eduardo


People also ask

How do I force a screen session to detach?

screen -d detaches the already-running screen session, and screen -r reattaches the existing session. By running screen -d -r , you force screen to detach it and then resume the session.

How do you detach a screen from a monitor?

Use ctrl + a , a to send ctrl + a to the inner screen. That is, to detach the inner screen press ctrl + a , a , d .

How do I detach a screen in putty?

1 Answer. Show activity on this post. You're missing a screen command at the beginning of your session. Run screen and it'll give you a new session from which you can detach with Ctrl A D .


1 Answers

If all else fails, login from another terminal and type: screen -raAdx. This will reattach your screen as shared and allow you to detach it.

like image 99
Aram Verstegen Avatar answered Sep 28 '22 14:09

Aram Verstegen