Somehow I managed to close a screen window without screen 'noticing' it, so the session is still flagged as
attached. This prevents me from re-attaching to this session. What can I do?
me@iupr-serv8:~$ screen -r There are several suitable screens on: 25028.pts-19.XXX-serv8 (01/05/2012 07:15:34 PM) (Attached) 24658.pts-19.XXX-serv8 (01/05/2012 07:11:38 PM) (Detached) 24509.pts-19.XXX-serv8 (01/05/2012 07:10:00 PM) (Detached) 18676.pts-5.XXX-serv8 (01/02/2012 06:55:33 PM) (Attached) Type "screen [-d] -r [pid.]tty.host" to resume one of them. me@XXX-serv8:~$ screen -r 25028 There is a screen on: 25028.pts-19.XXX-serv8 (01/05/2012 07:15:33 PM) (Attached) There is no screen to be resumed matching 25028.
In the end I found out, that the session was not lost, but the ID of the first session is
0. The second session than has the ID