Shared screen sessions¶
The multiuser session feature of GNU screen comes handy if a user needs remote assistance. Multiuser sessions allow other users to join in a running screen session. They see the same terminal output as the inviting user and are able to type in commands.
Walk-through¶
We illustrate how to use it with an example. Imaging user alice has a screen
session running and wants to invite user bob.
We assume that alice is already running a screen session.
User
aliceneeds to activate multiuser mode by typing Control-a :multiuser on<Return>.User
aliceneeds to allowbobto join by typing Control-a :acladd bob<Return>.User
bobjoins the screen session by invoking screen -r alice/ at the shell.To detach from the shared session, bob types Control-a d.
Both alice and bob should share the same terminal now. For further details,
please refer to the screen(1) manual page.
Limitations¶
screen cannot be run inside sudo sessions. So start screen first and then sudo inside the screen session.