![]() When launching weston with the gl-renderer you should get the same desktop in your remote host. Launch an rdp client : on X e.g xfreerdp : 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 ![]() Weston -tty=2 -backend=fbdev-backend.so -modules=screen-share.so -use-gl=1ģ/ In order to do remote desktop with the screen-sharing a keyboard and a mouse should be connected to target: The rdp-compositor has a dependency to freerdp.ġ/ 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)Ģ/ the command to fork a compositor with the rdp backend should be written in the weston.iniĪt $HOME/.config/weston.ini add the following:Ĭommand=/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Ģ/ launch weston with the following command : Weston -imx should be built with rdp-compositor and screen sharing enabled :Īdd -enable-screen-sharing and -enable-rdp-compositor to the weston configs Here is how they did it on im圆 for your reference. At least I know there are customers used this features on im圆q ![]() ![]() The screen share should be supported on imx platform with wayland backend. Screen share failed: No wl_shm found <- Error message! What is this reason? launching '/usr/libexec/weston-desktop-shell' A library based on the reference Weston compositor. Registered plugin API 'weston_xwayland_surface_v1' of size 16 Since Wayland is just a protocol, and a compositor has to do all the things the xserver used to do. Registered plugin API 'weston_xwayland_v1' of size 32 Loading module '/usr/lib/libweston-9/xwayland.so' info: add 1 socket(s) provided by systemd Loading module '/usr/lib/weston/systemd-notify.so' Loading module '/usr/lib/weston/screen-share.so' However we got the error message as below. This is short cut key of Weston to share screen. Modules=screen-share.so <- Add this line. Out of the box, Weston provides a very basic desktop, or a full-featured environment for non-desktop uses such as automotive, embedded, in-flight, industrial, kiosks, set-top boxes and TVs. Sources\meta-imx\meta-bsp\recipes-graphics\wayland\weston_9.0.0.imx.bbappend Weston Weston is the reference implementation of a Wayland compositor, as well as a useful environment in and of itself. So, we add as below to build rdp-backend.so. The tinydm.We are testing i.MX8 with below environment.Įvaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.) Compare this to the value in, likely backend=drm-backend.so. Log in via ssh and check the file /etc/xdg/weston/weston.ini for an entry such as backend=fbdev-backend.so. The common backend fbdev has been deprecated and disabled by default in weston 10.0.0.Ĭhoosing weston as the interface ( pmbootstrap init) on an unmaintained or irregularly maintained device that uses the fbdev backend will likely result in blank screen after the "pmbootstrap loading" splash screen. Unfortunately, upstream changes can make maintenance difficult. Weston is very commonly used for testing new ports and as a demo ( Category:Interface). weston -backend=rdp-backend.so -rdp-tls-cert=/path/to/mycrt.crt -rdp-tls-key=/path/to/mypublic.key -socket=wayland-1 -width=540 -height=600įollow the Display guide to change and fix display related issues.sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mypublic.key -out mycrt.crt.Weston will be launched automatically on boot by TinyDM. This will package weston libraries as well as demos for your device, see weston* commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |