Skip to content
/ wvnc Public

Attach VNC server to a running Wayland compositor

License

Notifications You must be signed in to change notification settings

atx/wvnc

Repository files navigation

wvnc

Note: This project has been superseeded by wayvnc.

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)

About

Attach VNC server to a running Wayland compositor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published