Analysis of vnc2flv/vnc2swf principles

Source: Internet
Author: User

VNC uses the remote frame Cache Protocol (vfb, remote framebuffer) to achieve Desktop Sharing and remote control. Generally, this includes VNC client and VNC server. By default, the server uses port 5500 to listen to different VNC desktops (for example, 0 to: 3) use different ports (such as 5900 to 5903 ). If you use VNC to access B on a, VNC transfers the keyboard and mouse operation on server a to server B, while B transfers the frames to server, this is the principle of VNC.

When connecting to the VNC server, the VNC client can use the share and viewonly modes. In this case, multiple users can share a desktop. For example, if user a uses VNC to connect to the VNC Server and uses desktop 1, user B can connect to the VNC Server Desktop 1 in share and viewonly modes, user B's connection will not disconnect User A, and user B is only in viewing mode. User B can see all operations of user. Vnc2flv (or vnc2swf) uses the share and viewonly modes.

Vnc2flv (or vnc2swf) is equivalent to a VNC Viewer, which implements the vfb protocol. However, when they receive the corresponding display frames, they are not displayed, but simulated in the memory, and the frames are stored at a certain interval. You can select different storage formats. The main difference between vnc2flv and vnc2swf lies in the different storage formats.

Whenever you enable vnc2swf or vnc2flv, it connects to the specified desktop of The VNC Server in share and viewonly modes, and records the display. This enables screen recording.

If you configure them in the vnc startup script, you can record any operations to connect to this machine using VNC. Because VNC lacks security, it can be used with SSH.

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.