#server #protocols #framebuffer #rfc #remote #vnc #client

rfb

Implementation of the RFB protocol (RFC 6143), including a server implementation

1 unstable release

0.1.0 May 2, 2022

#8 in #vnc

MPL-2.0 license

5MB
873 lines

Contains (ELF exe/lib, 15MB) core

RFB

This crate implements a server-side implementation of the Remote Framebuffer Protocol. Consumers of the crate can use the implementation while providing their own framebuffer data by implementing the trait rfb::server::Server.

RFB is the protocol used to implement VNC. See RFC 6143 for details.

Example Server

See the example implementation for a trivial implementation.

To run the example, run:

$ cargo build --example example-server
$ ./target/debug/examples/example-server

Then connect to the VNC server with your favorite client (such as noVNC) at localhost:9000.

If successful, you should see an oxide image as such: example display with noVNC

Dependencies

~11–21MB
~259K SLoC