Sharing a session with others

Sharing a session with others

Linux Screen for Session Management
Installing Screen on a Fedora or Red Hat® Enterprise Linux® 5 with yum.

1.Login as root:
su # enter root password
2.Use yum to install it:
yum install screen

shortcuts to navigate through screen environment.
•0 through 9 – Switches between windows
•Ctrl+n – Switches to the next available window
•Backspace – Switches to the previous available
•Ctrl+a – Switches back to the last window you were on
•A – Changes window session name
•K – Kills a window session
•c – Creates a new window
•[ – Then use arrows to scroll up and down terminal

configure to allow screen to be shared
1.As root: chmod u+s /usr/bin/screen
2.chmod 755 /var/run/screen
3.Log out of root, and run Screen as the user who is going to share the session:

4.Press Ctrl+a, then type :multiuser on and press Enter.
5.Press Ctrl+a, then type :acladd user .

Connecting to the shared screen
1.SSH into the workstation
2.On terminal type: screen -x user

list available screen sessions
screen -ls
screen -x screen_session_name
Shadow a Remote Desktop Session in Windows

Just opened on the Terminal Server, open a command prompt and use the shadow command to shadow the original session

D:\Documents and Settings\admin>shadow /?
Monitor another Terminal Services session.

SHADOW {sessionname | sessionid} [/SERVER:servername] [/V]

  sessionname         Identifies the session with name sessionname.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server containing the session (default is curre
  /V                  Display information about actions being performed.

command to get the session is query session
read more usages from

To disconnect the shadow session from the remote side, press CTRL-*(on the numeric keypad)



Posted on September 22, 2012, in Uncategorized, Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: