Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 342
    • Issues 342
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 134
    • Merge requests 134
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Merge requests
  • !362

backend-vnc: add VNC support using Neat VNC library

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Stefan Agner requested to merge agners/weston:rfc-vnc-support-with-neatvnc into main Jan 26, 2020
  • Overview 54
  • Commits 3
  • Pipelines 10
  • Changes 10

This adds basic VNC protocol support using the Neat VNC library (https://github.com/any1/neatvnc). This implementation does not support authentication and hardcodes the pixel format currently. It also does more copying then necessary at this point.

Signed-off-by: Stefan Agner stefan@agner.ch

This is a new attempt in trying to implement a (upstreamable) version of the VNC backend (see my previous attempt !279 (closed), I decided to create a new merge request as this is a different approach). This time I make use of the liberally license library Neat VNC which I only found recently.

There is still some stuff to iron out, most notably I have issues using libuv together with wl_event_loop. My current approach tries to embed the libuv event loop into the wl_event_loop. However, this seems not to work properly somehow, i have to do two calls and the return value of uv_run always claims that there is more work to do... Any hints/ideas welcome!

Other problems are still the same as in !279 (closed), e.g. the keysym to keycode table is still necessary.

Edited Apr 27, 2021 by Daniel Stone
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: rfc-vnc-support-with-neatvnc