CyberTek - the future at the present!
Google

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

sudo apt-get install screen
2. From the host computer runs with the screen parameter to start a 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)

ssh guest @ remotehost
  5. The host computer (remotehost) consents to the connection in multi-user screen session by typing CTRL-A: multiuser on (all 'command screen' to 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 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

Add A Comment

Spam protection by WP Captcha-Free

Powered by Cybertek - Remote Assistance