Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 832 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 832 Bytes

wvnc

Attach VNC server to a running Wayland compositor. At this point, this is pretty much a proof of concept and as such is buggy, does not handle edge cases well and is extremely inefficient etc. You have been warned.

Requirements

The compositor needs to support wlr-screencopy, xdg-output and virtual-keyboard. Pointer events are emulated using uinput (will hopefully be replaced with a virtual-touch protocol at some point) and as such you need some udev rules for /dev/uinput.

Building

$ mkdir build
$ cd build
$ cmake ..
$ make

Running

For example, to spawn a VNC server on port 5910 and output DP-1 run

$ ./wvnc -o DP-1 -b 0.0.0.0 -p 5910

(note that no security is currently supported)