From My Notepad
Jump to: navigation, search

Sharing a bash session using screen

Original content

1. user 1 connects to the machine and type the command “screen”
2. inside the screen terminal, user 1 hits ctrl + a and then type “:multiuser on”
3. user 2 joins in by typing “screen -x”
4. other users can join as described at point 3

Both users are now sharing the session.

Ctrl + a then d will close the screen session

Original content

screen -S [sessionName]
Ctrl+a :multiuser on
screen -x [userName]/[sessionName]