VNC support for weston#

Weston does offer a builtin support for the VNC protocol, so you can use a VNC client

Here be dragons

Authentication on the VNC server’s side is disabled, everyone can access your device

Setup device#

To enable the feature add

mkdir -p /apps/desktop-config
echo "@screenshare-vnc" >> /apps/desktop-config/config

and restart your device and get the IP address of the device

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
 inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
2: ETH0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
   link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
   inet 192.168.178.83/24 metric 100 brd 192.168.178.255 scope global dynamic enp5s0
      valid_lft 78205sec preferred_lft 78205sec