CyberTek - the future at the present!
Google

Archive for the 'HowTo' Category

Sharing with Linux console screen

Posted by: admin (July 4)

With screen you can share sonsole among multiple users connected locally or via ssh. To do so, follow these steps, the instructions are for a typical Debian system, but likewise apply to other distributions.

1. Install screen

# apt-get install screen
2. From the host computer is run with the parameter to start a screen session screen-S sessionname. -S allows you to specify a name for the session, this allows you to manage multiple sessions and many user simultaneously, easily.
screen-S screen-test

4. The remote user (guest) uses SSH to connect to remote computer (remotehost)

guest @ ssh remotehost
  5. The host computer (remotehost) consents to the connection in multi-user screen session by typing CTRL-A: multiuser on (all the 'commands screen' start with the escape sequence CTRL-A). 
CTRL-A: multiuser on

6. Thus, the host (remotehost) must grant permission for the remote user (guest) to allow access to the screen session with commadn CTRL-A: acladd user_name where user_name is the user's remote login.

CTRL-A: acladd guest

7. The remote user can connect to the host session. The syntax to connect to the screen session from another user is host_username screen-x / sessionname.

screen-x username / screen-test
Published in: HowTo , linux , shell , tips
Powered by CyberTek - Remote Assistance