Sharing terminal with screen
From Akvo Labs
Screen is a program that allows two users to share a terminal session, both entering commands and seeing the others typing.
If screen isn't installed the is the first step.
sudo aptitude install screen
Then we need to change permissions to allow sharing. This is done once.
sudo chmod u+s /usr/bin/screen sudo chmod 755 /var/run/screen
Now one user initiates
screen
When screen has launched a pair of commands starting with Ctrl-A are entered
Ctrl-A :multiuser on Ctrl-A :acladd gabriel
Finally the other user logs on to the screen session with the first user's name
screen -x paul/