screen

Why Screen?

Screen virtualizes the terminal environment. This means that can disconnect and reconnect to a terminal as well as have multiple people connected to the same terminal for pairing.

Setup

/var/run/screen must have 755 permissions -
sudo chmod 755 /var/run/screen
/bin/screen must be set uid root -
sudo chmod +s /usr/bin/screen

Permissions

setup your ~/.screenrc to resemble:

multiuser on
acladd brandon
acladd stephen

Modify the user list as appropriate

Using Screen

  • screen - starts screen session
  • ctrl-a d - Detaches screen session
  • screen -r - resume screen session
  • screen -d -r - detach screen session and reattach here
  • screen -x username/ - connect to another user's screen session, if you have permission


Retrieved from "http://aboutus.com/index.php?title=screen&oldid=14035219"