Posted in Bash Linux

Sharing your bash session using screen

May 24, 2008 - No comment

In this post I was describing how one can share a bash session using a named pipe.

This is a great way if you can’t install anything on the machine. If you are able to get “screen” installed, screen provides a much easier way, which allows all connected users to interact on the shared session. The named pipe method only allowed one user to watch what the other user was doing.

So here it goes…

1. user 1 connects to the machine and type the command “screen”
2. inside the screen terminal, user 1 hits ctrl + a and then type “:multiuser on”
3. user 2 joins in by typing “screen -x”
4. other users can join as described at point 3

Both users are now sharing the session.

Ctrl + a then d will close the screen session

Links :

Source : http://linuxhelp.blogspot.com/2005/01/screen-window-manager-for-console.html

Putting a password on a screen session : http://www.wains.be/index.php/2007/07/23/put-a-password-on-your-screen-session/

Leave Comment

Please consider visiting the partners below if you enjoyed this article :

If this post saved you time and money, please consider checking my Amazon wishlist.

Before submitting, some rules :
- Is your comment related to the article ?
- You're having a problem ? Have you checked Google, other howtos, docs, manpages ?
- You're still having the problem ? Have you raised log verbosity, checked traces, ran tcpdump ?
- Have you checked your configuratoin for typo ?
Unless your comment is providing additional info or respect the rules above, DON'T comment.
If you don't understand what you are doing, I urge you to read the documentation, I'm not your free Level 1 helpdesk guy.