Sharing a single SCREEN session

Imagine you wish to show someone how to do a installation .or putting it simple imaging you wish to see everything what all a person is typing sitting in the other part of the globe

A simple way to do this using the screen command .

Person A logs in and types the command screen

Person B wish to share the same screen session as A’s

He can do this by connecting to the screen session of A by using the x switch of screen command

On A:

=====================

php-appsrv:~# screen

php-appsrv:~# screen -ls
There is a screen on:
12054.pts-1.php-appsrvĀ  (Attached)
1 Socket in /var/run/screen/S-root.

======================

On B:

=======================

php-appsrv:~# screen -ls
There is a screen on:
12054.pts-1.php-appsrvĀ  (Attached)
1 Socket in /var/run/screen/S-root.

php-appsrv:~#screen -x 12054.pts-1.php-appsrv

========================

Thats it..A and B now share a common screen session and whatever A types in can be seen by B and vice versa

Share and Enjoy:
  • Digg
  • Mixx
  • del.icio.us
  • StumbleUpon
  • Facebook
  • TwitThis
  • Technorati
  • Google

Tags:

Leave a Reply