Skip to content

An extremely hacky VNC server for WebOS - Works by reading directly from the GPU's framebuffer.

License

Notifications You must be signed in to change notification settings

Energoblock/webos-vncserver

 
 

Repository files navigation

webos-vncserver

An somewhat hacky VNC server for WebOS.

Requires root privileges.

Usage

# ./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.

Demo

Keybindings

  • SUPER ("Windows") button is HOME
  • Right mouse button is BACK
  • Mouse scroll should properly be interpreted as scrollwheel

Caveats

  • This does not capture any hardware-accelerated video surfaces, only the UI layers.

Compiling

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!

About

An extremely hacky VNC server for WebOS - Works by reading directly from the GPU's framebuffer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 90.5%
  • CMake 9.5%