Introducing a VNC server for Chrome OS development devices.

3,998 views
Skip to first unread message

Junichi Uekawa (上川純一)

unread,
Jan 25, 2021, 1:48:45 AM1/25/21
to Chromium OS dev

Hi fellow Chromium OS developers!


Shaochuan and I made a VNC server during a hackathon last month. Under the hood it expands the `screenshot` utility to get continuous screenshots and have touchscreen / keyboard control over your remote Chromium OS device using libvncserver. The code landed in 13737.0.0.


Here’s a quick rundown of how to use kmsvnc.


(DUT)# kmsvnc


VNC server will start listening on port 5900. Forward the port with SSH from your client, and connect through the port. Example:


(workstation)$ ssh -L 5900:localhost:5900 DUT


Then connect using a VNC client, such as VNC Viewer for Google Chrome, to localhost:5900. It will ask you if you want to connect unauthenticated, here we are relying on ssh forwarding.




Known issues:

  • On UI restart the VNC server will stop updating the screen. kmsvnc needs to be restarted as well.

  • The screen occasionally turns stale and requires a few more clicks to make it update again.


A minimal documentation is available in README.md.



--
Junichi Uekawa
Google
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages