Quote:
Originally Posted by cramer
screen -x
to list screens
screen -r pid.screenname
to reattach.
On my RH9 it either reattachs the running screen right at screen -x or I get a list of screens from screen -x and it won't let me use the -r function to rattach a screen I can see that is clearly running, saying that it isn't (supposedly)
Any help appreciated!
|
My man page says that -x is used to attach to a session that is already attached:
Quote:
-x Attach to a not detached screen session. (Multi dis play mode).
|
and the -ls option is used to list running screen sessions:
Code:
-ls and -list
does not start screen, but prints a list of
pid.tty.host strings identifying your screen ses*
sions. Sessions marked `detached' can be resumed
with "screen -r". Those marked `attached' are running
and have a controlling terminal. If the session runs
in multiuser mode, it is marked `multi'. Sessions
marked as `unreachable' either live on a different
host or are `dead'. An unreachable session is con*
sidered dead, when its name matches either the name
of the local host, or the specified parameter, if
any. See the -r flag for a description how to con*
struct matches. Sessions marked as `dead' should be
thoroughly checked and removed. Ask your system
administrator if you are not sure. Remove sessions
with the -wipe option.
I don't know why you can't reattach with -r. If you only have one session running, try using it w/o specifying the pid.screenname