23
16
I had a screen
session running on a home server. My workstation needed a reboot, so I detached and killed the terminal. Upon reconnecting to the server, I execute my typical
$ screen -D -R
[new screen]
Huh? No, not a new session, gimme the old one. I know, I'll grab it directly. What's the socket name?
$ screen -list
No Sockets found in /var/run/screen/S-username
$ ls -a /var/run/screen/S-username
. ..
Wait... what? I know I left it running. Where'd it go?
$ ps -ef | grep -i screen
username 30860 1 0 Oct16 ? 00:00:29 SCREEN
Well, there's the process. But there's no socket to pass to screen -r
. How can I reattach to my session?