I read this: Remote Access the TorizonCore GUI Using VNC or RDP
A very interesting feature
I read this (ENTRYPOINT) : https://github.com/toradex/debian-docker-images/blob/bullseye/weston/entry.sh
VNC_BACKEND="command=/usr/bin/weston --backend=vnc-backend.so --shell=fullscreen-shell.so"
RDP_BACKEND="command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen .....
if [ "$ENABLE_VNC" = "1" ]; then
MSG=$REMOTE_UI"\n"$VNC_BACKEND
echo -e $MSG | tee -a $CONFIGURATION_FILE $CONFIGURATION_FILE_DEV 1>/dev/null
fi
if [ "$ENABLE_RDP" = "1" ]; then
{
...
}
fi
Enviroment variable add extra –backend=…-backend.so
Is possible enable VNC or RDP on “Linux Reference Multimedia” image not Torizon?
which file is building vnc-backend.so ?
“which file” == recipe bitbake in layers folder
…
…
…
…
…
…
…
I have found a possible source of the file rdp-backend.so
layers/meta-toradex-nxp/backports/recipes-graphics/wayland/weston_9.0.0.imx.bb
EXTRA_OEMESON += "-Dbackend-default=auto -Dbackend-rdp=**false** -Dpipewire=false"
after set backend-rdp=true I try build image but I have problem with
| Run-time dependency freerdp2 found: NO (tried pkgconfig and cmake)
|
| libweston/backend-rdp/meson.build:9:1: ERROR: Problem encountered: RDP-backend requires freerdp2 which was not found. Or, you can use '-Dbackend-rdp=false'.
I add freerdp to image but it did not help