I am working on a device running Torizon OS (Colibri iMX7), and I am trying to enable VNC access for the Weston compositor running inside a Docker container.
above my hardware and os info as below:
Software summary
Bootloader: U-Boot
Kernel version: 6.6.108-7.4.0-00057-g451f1e35226f #1-Torizon SMP PREEMPT Mon Jun 30 14:11:55 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.0/torizon/aa104998aa7efecb21cda9332f3a8cff00fac649466c957ec5fa5444d05b3c26/0
Distro name: NAME=“Torizon OS Upstream”
Distro version: VERSION_ID=7.4.0-build.28
Distro variant: VARIANT=“Docker”
Hostname: colibri-imx7-emmc-06673341
Hardware info
HW model: Toradex Colibri iMX7D 1GB (eMMC) on Colibri Evaluation Board V3
Toradex version: 0039 V1.1A
Serial number: 06673341
Processor arch: armv7l
I am using the following command:
docker run --rm \
--name weston \
--net=host \
--ipc=host \
--privileged \
-e ENABLE_VNC=1 \
-e VNC_PORT=5900 \
-v /dev:/dev \
-v /tmp:/tmp \
-v /run/udev:/run/udev \
--device-cgroup-rule='c 4:* rmw' \
--device-cgroup-rule='c 13:* rmw' \
--device-cgroup-rule='c 226:* rmw' \
torizon/arm32v7-debian-weston \
--developer
Weston starts successfully, and the display is working on the device. However, the VNC server does not start, and port 5900 is not open.
I also checked the container logs, but there is no indication that a VNC server is being started.
However, I would like to know if there is a proper or recommended way to enable VNC in Weston on Torizon OS.
Questions:
- Does the
torizon/arm32v7-debian-westonimage support VNC viaENABLE_VNC=1? - If not, what is the recommended way to enable remote GUI access (VNC or otherwise)?
- Is there an official Weston image for Torizon that includes built-in VNC support?
Any guidance would be appreciated.
Thank you.