The screen share should be supported on imx platform with wayland backend. At least I know there are customers used this features on imx6q
Here is how they did it on imx6 for your reference. Hope it helps.
Remote Desktop: How-To
weston -imx should be built with rdp-compositor and screen sharing enabled :
add --enable-screen-sharing and --enable-rdp-compositor to the weston configs
The rdp-compositor has a dependency to freerdp.
On target:
1/ Install the freerdp package on target : Make sure you have the TLS certificate/key couple server.crt and server.key (generally : at /etc/freerdp/keys)
2/ the command to fork a compositor with the rdp backend should be written in the weston.ini
(make sure to export HOME) :
at $HOME/.config/weston.ini add the following:
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
2/ launch weston with the following command :
weston --tty=2 --backend=fbdev-backend.so --modules=screen-share.so --use-gl=1
3/ In order to do remote desktop with the screen-sharing a keyboard and a mouse should be connected to target:
when the compositor is up : do the ctrl+alt+s to fork the new compositor with rdp-backend that will share the screen through RDP
On Host:
launch an rdp client : on X e.g xfreerdp :
xfreerdp <target ip address>
When launching weston with the gl-renderer you should get the same desktop in your remote host.
Regards