Assisting 13826029 developers since 2005.

Web Developer, Open Source, Loyal, Dad.  

Read More »

How to Install Linux Screen for Remote Teaching

Posted by David  •  Jan 5th, 2015 12:47:23 am - Subscribe | Mood: tired |

This entry explains how to install the program on linux called screen. Screen can be used to help others via the command line in real time.

So what is screen? Screen will allow you to to view what you are typing in real time. It allows one user to stop the other and ask why they are doing what they are doing in the CLI in real time.



Step by Step Install and Configuration of Screen for CentOS 6.5

1. yum -y install screen
2. Edit /etc/screenrc
3. Add the following snippet of lines to screenrc:

###Multi-user Mode###
multiuser on
acladd username
aclchg username
acldel username
###End Multi-user Mode###

4. Setuid screen binary: chmod u+s /usr/bin/screen
5. Create a user: useradd david
6. Change the password: passwd david
7. Share the username "david" and password with your friend or person assisting you.
8. Via the CLI type: screen
9. Have your friend / assistant type: screen
10. FYI: If you need help type: screen --help
11. Now list the screens: screen -ls
12. Finally have your friend attach to your pid & username. Example: screen -x david/1705.pts-0.dpolanco
13. Complete!

Source:
A Basic Understanding Of screen On Centos

Comments 0  •  Jan 5th, 2015 12:47:23 am - Subscribe  •  Tweet this entry | Post a comment



Responses

Leave a Reply


ReCaptcha:

Posting as anonymous Anonymous guest, why not register, or login now.

Image Gallery

Badges

Amazon Wishlist Stumble Upon Toolbar
Internet Blogs - Blog Top Sites Internet Blogs - Blog Top Sites Technology

About Me

avatar

@davidpolanco
iPhone: 29.513522,-98.565523 Web Designer, Open Source, Loyal, Dad. Learn more...