2

I have a screen session running on my local machine:

~/[email protected]$screen -S pair

Then, turn on multiuser:

ctrl-a:multiuser on

Finally, allow the user pair to connect to the session:

ctrl-a:acladd pair

So far so good. A remote user can log into the machine as pair and connect to the session:

~/$ssh [email protected]
pair@example~/$screen -x test/pair

But, if I open a split:

ctrl-a:|

The user pair cannot see the split.

Is it possible to have multiple splits open in a shared session?

2 Answers 2

1

The split is done in the screen client, not in the screen session itself. pair may split his screen any way he wants, independent of your split.

4
  • Is it possible to create a split that anyone in the session can see? Commented Jul 21, 2015 at 20:36
  • You might find this answer to a related question useful: unix.stackexchange.com/a/1985/119010 Commented Jul 22, 2015 at 7:20
  • I believe tmux can do that, as it separates the notions of sessions, windows and panes. Commented Jul 22, 2015 at 7:21
  • Thanks @katti! I actually use tmux all the time (though iterm2) but I didn't think it supported multiuser as well as screen. Do you know if it's possible to have 2 users on the same system share a session with tmux? Commented Jul 23, 2015 at 16:56
0

Turns out screen now has a layout facility that will keep track of splits. In order for the pair to see the current layout just save it as the default:

ctrl-a:layout save default

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.