An somewhat hacky VNC server for WebOS.
Requires root privileges.
# ./webos-vncserver 640 360
You should then be able to connect via a VNC client of your choice, on port 5900.
Here it is, running on a "headless" TV motherboard, being accessed via a VNC mobile app.
- SUPER ("Windows") button is HOME
- Right mouse button is BACK
- Mouse scroll should properly be interpreted as scrollwheel
- This does not capture any hardware-accelerated video surfaces, only the UI layers.
To cross-compile for WebOS, you will need an NDK: https://github.com/webosbrew/meta-lg-webos-ndk
rm -rf build && mkdir build && cd build && cmake .. && cmake --build . --target webos-vncserver
You should have produced a webos-vncserver
binary. Copy it over to your TV and run it as root!