Skip to content

Instantly share code, notes, and snippets.

@rudolph9
Created February 15, 2012 20:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rudolph9/1838710 to your computer and use it in GitHub Desktop.
Save rudolph9/1838710 to your computer and use it in GitHub Desktop.
Creating a multi user GNU screen session

Initial configuration of system:

Make the proper permisions for the screen command

sudo chmod u+s $(which screen)
sudo chmod 755 /var/run/screen/
sudo rm -rf /var/run/screen/*

Screen setup

From <user_sharing_screen>

name the screen

upon initialization

screen -S <session_name>

from within an existing screen

C-a :sessionname <session_name>

make the screen multiuser

C-a :multiuser on
C-a :acladd <user_to_share_with>

From <user_to_share_with> on the same system

screen -x <user_sharing_screen>/<session_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment