xpra icon
Bug tracker and wiki

Opened 9 days ago

Last modified 9 days ago

#1620 assigned enhancement

rfb server support

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.2
Component: server Version: trunk
Keywords: Cc:

Description

Implementing a bare bones RFB server turned out to be trivial since the protocol is so simple (unlike xpra, no windows or metadata to deal with!): rfc6143.

This may be useful for comparing with VNC clients, debugging the vfb state, etc

TODO before the next release (minimum required for secure usage):

  • bug: screen updates are always one frame behind
  • authentication step (support at least VncAuth)
  • move code to an rfb support module and also support rfb in shadow servers
  • honour server sharing options, fix source missing attributes (uuid, etc)
  • verify control channel commands, etc (anything that might dereference missing source attributes)

Extras (probably for a later milestone):

  • SSL support (should be trivial)
  • refactor rfb protocol code into a common superclass with regular xpra protocol (packet accounting, threads, close, etc)
  • more encodings than just plain RGB (ie: copyrect for scrolling, jpeg)
  • clipboard support
  • support colormap modes? (8 / 16 bit)
  • desktop-size pseudo encoding (randr like)
  • maybe add a default port for bind-rfb (5900 + DISPLAY)
  • support older protocols

To use it:

xpra start-desktop :100 --start=xterm --bind-rfb=0.0.0.0:5900 -d rfb
vncviewer 127.0.0.1:0 -Log "*:stderr:100"

Change History (1)

comment:1 Changed 9 days ago by Antoine Martin

Status: newassigned

Code added in r16673.

Note: See TracTickets for help on using tickets.