Screen

References

Install screen
apt-get install screen

Run screen one time
screen
And type <exit> to quit screen

Modify the default permissions
sudo chmod 755 /var/run/screen/
sudo chmod u+s /usr/bin/screen

Teacher runs:
screen -S MySessionTitle

And sets multiuser mode
c-a : multiuser on

Then allows student to join screen session
c-a : acladd student

Student runs:
screen -x teacher/MySessionTitle

Now, the student is running with the teacher's credentials

To make the student session read-only, teacher runs:
c-a : aclchg student -w "#"

To toggle logging the current session to the file session.n in the current directory
c-a H

If colors are a problem, use:
set ls='ls --color=none'

see the man pages for options, environment variables, key bindings, etc


Send mail to the Webmaster

logo This site best viewed with a browser
Warning: This is a Debian centric site and MAY contain peanuts.
Many thanks to Debra Lynn and Ian Murdock for making Debian possible
First created Dec 14, 2008 ~ Last revised November 26, 2009

Valid XHTML 1.0 Strict Valid CSS!