pbgogl.blogg.se

Weston compositor
Weston compositor











weston compositor

I thought it an amazing library, although it was in a very early stage and there was just a single person working seriously on it. So I jumped on the wagon, after a bit of research WLC was found. I read that it will be the future of the Linux desktop (and by the way it turns out that those things are true). It was supposed to be so much better than X11. Nonetheless, I soldiered on, and eventually got things working. I was frustrated by some aspects of X and how X clients worked - what is that WM_LEADER? There were certainly specs on the internet, but things were incomprehensible for a beginner like me. My early attempts were more or less copy-paste-refactor parts of the Compiz code. So I thought that the time was perfect to start a clone of it. On top of that, Compiz was just being announced as discontinued (although it turns out that Compiz 0.8.x is still maintained). My primary motivation at that time was to learn more about C++, window management, etc. I started Wayfire as a X compositing manager, and it was called Fire. In this blog post I’ll try to outline why those rewrites were necessary. Wayfire is a project which has had 4 versions and has been rewritten 3 times. When launching weston with the gl-renderer you should get the same desktop in your remote host.X11 -> WLC -> libweston -> wlroots: how the current Wayfire came to be 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:

#Weston compositor install

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' Registered plugin API 'weston_xwayland_surface_v1' of size 16

weston compositor

Registered plugin API 'weston_xwayland_v1' of size 32

weston compositor

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. Sources\meta-imx\meta-bsp\recipes-graphics\wayland\weston_9.0.0.imx.bbappend So, we add as below to build rdp-backend.so. We are testing i.MX8 with below environment.Įvaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)













Weston compositor