Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've been using screen -dRaA -S x to open up a single session between different workstations as I move about. Handy.

Is it possible to connect multiple times to a single session, though, without disconnecting others? When I have two machines I'm quickly moving between even reconnecting starts to slow me down.

share|improve this question
add comment

3 Answers

up vote 7 down vote accepted

Try

screen -aAxR -S x

-x is the option that does what you want.

share|improve this answer
add comment

screen -x is the option you want (coupled with whichever other options you desire).

The -x replaces -R in this case.

share|improve this answer
add comment

I'm personally a fan of:

$ screen -rxU

-r resumes a detached screen session -x resumes a not-detached screen session -U tells the terminal to use UTF-8 encoding (which I use exclusively)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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