<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [i.MX8] How to share screen on Weston. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1693204#M209728</link>
    <description>Hello,&lt;BR /&gt;Same issue :&lt;BR /&gt;Screen share failed: No wl_shm found&lt;BR /&gt;Did someone find how to resolve it ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 26 Jul 2023 15:34:43 GMT</pubDate>
    <dc:creator>romainmoura</dc:creator>
    <dc:date>2023-07-26T15:34:43Z</dc:date>
    <item>
      <title>[i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1333875#M179488</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are testing i.MX8 with below environment.&lt;/P&gt;&lt;P&gt;[Environment]&lt;BR /&gt;Evaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)&lt;BR /&gt;Linux for i.MX : Linux 5.10.9_1.0.0&lt;/P&gt;&lt;P&gt;We would like to share output screen.&lt;BR /&gt;So, we add as below to build rdp-backend.so.&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;sources\meta-imx\meta-bsp\recipes-graphics\wayland\weston_9.0.0.imx.bbappend&lt;BR /&gt;#Add two lines.&lt;BR /&gt;DEPENDS += "freerdp"&lt;BR /&gt;EXTRA_OEMESON += "-Dbackend-rdp=true"&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;Also, we edited weston.ini&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;[core]&lt;BR /&gt;#gbm-format=argb8888&lt;BR /&gt;idle-time=0&lt;BR /&gt;use-g2d=1&lt;BR /&gt;xwayland=true&lt;BR /&gt;repaint-window=16&lt;BR /&gt;#enable-overlay-view=1&lt;BR /&gt;modules=screen-share.so &amp;lt;-- Add this line.&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;We enter "Ctrl + Alt + S" key.&lt;BR /&gt;This is short cut key of Weston to share screen.&lt;BR /&gt;However we got the error message as below.&lt;BR /&gt;weston.log&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;[05:47:47.435] Loading module '/usr/lib/weston/screen-share.so'&lt;BR /&gt;[05:47:47.440] Loading module '/usr/lib/weston/systemd-notify.so'&lt;BR /&gt;[05:47:47.440] info: add 1 socket(s) provided by systemd&lt;BR /&gt;[05:47:47.444] Loading module '/usr/lib/libweston-9/xwayland.so'&lt;BR /&gt;[05:47:47.649] Registered plugin API 'weston_xwayland_v1' of size 32&lt;BR /&gt;[05:47:47.649] Registered plugin API 'weston_xwayland_surface_v1' of size 16&lt;BR /&gt;[05:47:47.649] xserver listening on display :0&lt;BR /&gt;[05:47:47.649] launching '/usr/libexec/weston-desktop-shell'&lt;BR /&gt;[05:48:23.963] Screen share failed: No wl_shm found &amp;lt;-- Error message! What is this reason?&lt;BR /&gt;[05:48:23.963] unknown child process exited&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;How can I share the screen on Weston?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 06:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1333875#M179488</guid>
      <dc:creator>tan-k</dc:creator>
      <dc:date>2021-09-02T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1334880#M179552</link>
      <description>&lt;P&gt;Hello tan-k&lt;/P&gt;
&lt;DIV id="bodyDisplay_7" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;The screen share should be supported on imx platform with wayland backend.&amp;nbsp; At least I know there are customers used this features on imx6q&lt;/P&gt;
&lt;P&gt;Here is how they did it on imx6 for your reference.&amp;nbsp; Hope it helps.&lt;/P&gt;
&lt;H2 id="toc-hId--1409014567"&gt;Remote Desktop: How-To&lt;/H2&gt;
&lt;P&gt;weston -imx should be built with rdp-compositor and screen sharing enabled :&lt;BR /&gt;add&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#14892c"&gt;--enable-screen-sharing&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#14892c"&gt;--enable-rdp-compositor&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to the weston configs&lt;BR /&gt;The rdp-compositor has a dependency to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;freerdp&lt;/STRONG&gt;.&lt;BR /&gt;&lt;INS&gt;On target:&lt;/INS&gt;&lt;BR /&gt;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)&lt;BR /&gt;2/ the command to fork a compositor with the rdp backend should be written in the weston.ini&lt;BR /&gt;(make sure to export HOME) :&lt;BR /&gt;at $HOME/.config/weston.ini add the following:&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="error"&gt;[screen-share]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;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&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2/ launch weston with the following command :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;weston --tty=2 --backend=fbdev-backend.so --modules=screen-share.so --use-gl=1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;3/ In order to do remote desktop with the screen-sharing a keyboard and a mouse should be connected to target:&lt;BR /&gt;when the compositor is up : do the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ctrl+alt+s&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to fork the new compositor with rdp-backend that will share the screen through RDP&lt;/P&gt;
&lt;P&gt;&lt;INS&gt;On Host:&lt;/INS&gt;&lt;BR /&gt;launch an rdp client : on X e.g xfreerdp :&lt;BR /&gt;&lt;STRONG&gt;xfreerdp &amp;lt;target ip address&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When launching weston with the gl-renderer you should get the same desktop in your remote host.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Sep 2021 13:48:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1334880#M179552</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2021-09-03T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1335167#M179586</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your information!&lt;/P&gt;&lt;P&gt;We already set "screen-share" item in weston.ini (Attached our file) and load "screen-share.so".&lt;BR /&gt;Also we have the TLS certificate/key couple server.crt and server.key.&lt;BR /&gt;Do the ctrl+alt+s, then the new compositor failed with the error of "Screen share failed: No wl_shm found".&lt;BR /&gt;We changed "ExecStart" item in weston.service file (Attached our file).&lt;BR /&gt;Then we can connect remote desktop by using xfreerdp normally.&lt;BR /&gt;But the desktop is not shown on display.&lt;/P&gt;&lt;P&gt;We would like to get the same desktop in my remote host.&lt;BR /&gt;Do you have any solutions?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 03:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1335167#M179586</guid>
      <dc:creator>tan-k</dc:creator>
      <dc:date>2021-09-06T03:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1527474#M195559</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182306"&gt;@tan-k&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm having the same behavior. How did you resolve that? I need to change something else in other conf file?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 16:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1527474#M195559</guid>
      <dc:creator>danix2k</dc:creator>
      <dc:date>2022-09-23T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1564484#M198350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we had the same problem. Black remote screen with "use-g2d=1".&lt;/P&gt;&lt;P&gt;Uncomment it:&lt;/P&gt;&lt;P&gt;#use-g2d=1&amp;nbsp;&lt;/P&gt;&lt;P&gt;With our hardware it works (slower because no 2D graphic accel.)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 14:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1564484#M198350</guid>
      <dc:creator>inetronic</dc:creator>
      <dc:date>2022-12-05T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1693204#M209728</link>
      <description>Hello,&lt;BR /&gt;Same issue :&lt;BR /&gt;Screen share failed: No wl_shm found&lt;BR /&gt;Did someone find how to resolve it ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 26 Jul 2023 15:34:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1693204#M209728</guid>
      <dc:creator>romainmoura</dc:creator>
      <dc:date>2023-07-26T15:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1739335#M214008</link>
      <description>Hi&lt;BR /&gt;Have you found any solution ?</description>
      <pubDate>Fri, 13 Oct 2023 08:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1739335#M214008</guid>
      <dc:creator>himanshubhavani</dc:creator>
      <dc:date>2023-10-13T08:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1745785#M214669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182306"&gt;@tan-k&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189898"&gt;@romainmoura&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I succeeded in remotely access wayland application using RDP client in yocto environment&lt;BR /&gt;&lt;BR /&gt;FYI-&amp;nbsp;&lt;BR /&gt;full article&lt;BR /&gt;&lt;A href="https://prashant-divate.medium.com/remotely-accessing-wayland-based-applications-using-rdp-client-in-yocto-image-55f38b67e0aa" target="_blank" rel="noopener"&gt;https://medium.com/@prashant-divate/remotely-accessing-wayland-based-applications-using-rdp-client-in-yocto-image-55f38b67e0aa&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;addressed in meta layer&lt;BR /&gt;&lt;A href="https://github.com/prashantdivate/meta-sirius/tree/master" target="_self"&gt;https://github.com/prashantdivate/meta-sirius/tree/master&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 06:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1745785#M214669</guid>
      <dc:creator>prashantdivate</dc:creator>
      <dc:date>2023-10-29T06:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1748135#M214857</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189898"&gt;@romainmoura&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It looks like the screen-share module cannot find globals like `wl_compositor` and `wl_shm`, and screen sharing failed. So please add desktop shell in weston.ini file&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 06:32:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1748135#M214857</guid>
      <dc:creator>prashantdivate</dc:creator>
      <dc:date>2023-10-29T06:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: [i.MX8] How to share screen on Weston.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1748139#M214859</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I fixed the issue a will ago, sorry for not posting the solution. I think there was issue in the weston.ini file. Here is mine which is working now :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="romainmoura_0-1698564337909.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/247333iD49CE0487AFB3A63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="romainmoura_0-1698564337909.png" alt="romainmoura_0-1698564337909.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 07:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8-How-to-share-screen-on-Weston/m-p/1748139#M214859</guid>
      <dc:creator>romainmoura</dc:creator>
      <dc:date>2023-10-29T07:26:43Z</dc:date>
    </item>
  </channel>
</rss>

