Use screen shared sessions (multiple computers can be used to share windows and then-meetings, teaching, etc)

Source: Internet
Author: User

Use screen shared sessions (multiple computers can be used to share windows and then -- meetings, teaching, etc.) GNU Screen can be seen as the command line interface version of the window manager. It provides a unified interface for managing multiple sessions and corresponding functions. * Session recovery: as long as the Screen itself is not terminated, all sessions running inside it can be recovered. This is especially useful for remote login users-even if the network connection is interrupted, the user will not lose control over the opened command line session. You only need to log on to the host again and execute screen-r to resume the session operation. You can also execute the detach command when you leave temporarily to suspend the Screen (switch to the background) when the program in it runs normally ). This is similar to VNC in the graphic interface. * Multiple windows: In the Screen environment, all sessions run independently and each session has its own serial number, input, output, and window cache. You can switch between different windows by using the shortcut key and redirect the input and output of each window freely. Screen implements basic text operations, such as copying and pasting. It also provides a function similar to the scroll bar to view the historical records of window conditions. The window can also be split and named, and you can monitor the activity of the background window. * Session sharing: Screen allows one or more users to log on to a session multiple times from different terminals and share all the features of the session (for example, you can see identical output ). It also provides a window access permission mechanism to protect the window password. This article mainly introduces the use of shared sessions, which makes it easier for us to use, and the use of screen shared sessions allows many users to see a window at the same time, it can be used for classes and meetings ~~ The usage of shared sessions is actually very simple. The main screen Commands include: 1. You can set screen-S session_name by yourself, for example, abc 2 and screen-list can be used to view sessions on the current computer, other users can use this command to view the information and then choose to log on to a session. 3. screen-x session_name to enter the shared session window. The main process is as follows: 1. Use screen-S test on A computer A to create A session, and then begin will enter the test session. 2. log on to A by Using ssh on other machines. Use screen-list to view the sessions: long @ zhouyl :~ $ Screen-listThere is a screen on: 8815. test (Friday, October 18,201 3 11:23:23 CST) (Attached) 1 Socket in/var/run/screen/S-long.3, use screen-x test to enter the session, screen shared sessions support all users who use ssh to log on to this computer. So we can use this function for meetings or teaching!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.