How does RealVNC work?

I would like to know how the RealVNC Remote Viewer works.

Does he often send screenshots to the client in real time?

or uses a different approach?

+3
source share
5 answers

As a very high level of overview, there are two types of VNC servers:

  • Capture screen. These servers will display the current display in a buffer, compare it with the state of the client and send only those rectangles that differ from the client.
  • Hook help. By acquiring the display update process, these servers will be informed when the screen changes to the display manager or OS. They can then use this information to send only the modified rectangles to the client.

; . VNC .

( , , , .)

, . , ( ).

+8

: " x, y". . , , , . ( ). , . , .

, ,

+5

. - ( ).

, , VNC, ( .. .. ).

+4

, .

, . , (, , ). FBU ( ), , FBU .

RFB/VNC . IETF (2011) RFC 6143, RFB, .

+2

It essentially works by sending screenshots on the fly. (The "real time" here is something wrong, because there is no clear deadline.) It only tries to optimize by sending areas of the screen that have been changed, and some forks of the VNC code line use a mirror driver to receive a notification when the display areas are recorded, in while others use window message hooks to detect redraw requests.

+1
source

Source: https://habr.com/ru/post/1788597/


All Articles