<?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 yocto build with weston graphics. XDG_RUNTIME_DIR path issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1713174#M211654</link>
    <description>&lt;P&gt;Hello, community!&amp;nbsp;&lt;BR /&gt;I have an issue, that during Yocto Distro build I have missed&amp;nbsp;XDG_RUNTIME_DIR path. Also I've found who can set this path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;~/var-fslc-yocto/sources$ grep -nri XDG_RUNTIME_DIR=/run/user
poky/meta/lib/oeqa/runtime/cases/weston.py:34:        return 'export XDG_RUNTIME_DIR=/run/user/`id -u weston`; export WAYLAND_DISPLAY=wayland-1; %s' % cmd
poky/meta/recipes-graphics/wayland/weston-init/weston-start:60:	export XDG_RUNTIME_DIR=/run/user/`id -u ${WESTON_USER}`
poky/meta/recipes-graphics/wayland/weston-init/weston-start:71:su -c "XDG_RUNTIME_DIR=/run/user/`id -u ${WESTON_USER}` weston $weston_args --log=/tmp/weston.log" $WESTON_USER
meta-variscite-sdk/dynamic-layers/fsl-sdk-release/recipes-qt/qt6/qtbase/qt6-linuxfb.sh:3:	export XDG_RUNTIME_DIR=/run/user/$(id -u)
meta-variscite-sdk/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend:41:		echo "    export XDG_RUNTIME_DIR=/run/user/\$(id -u)" &amp;gt;&amp;gt; ${D}${sysconfdir}/profile.d/qt5.sh
meta-variscite-sdk/recipes-graphics/wayland/weston-service/weston-app.sh:7:        export XDG_RUNTIME_DIR=/run/user/`id -u`&lt;/LI-CODE&gt;&lt;P&gt;Well, I have no QT, so I need to run somehow&amp;nbsp; weston-app.sh or weston-start.&lt;BR /&gt;On my distro I have:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DISTRO_FEATURES:append = " x11 \
                           wayland \
                           weston-xwayland \&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me what should I configure to be able to run the weston-app.service? Now I have no weston-app.service on my build.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 10:31:18 GMT</pubDate>
    <dc:creator>Anton_K</dc:creator>
    <dc:date>2023-08-29T10:31:18Z</dc:date>
    <item>
      <title>yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1713174#M211654</link>
      <description>&lt;P&gt;Hello, community!&amp;nbsp;&lt;BR /&gt;I have an issue, that during Yocto Distro build I have missed&amp;nbsp;XDG_RUNTIME_DIR path. Also I've found who can set this path:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;~/var-fslc-yocto/sources$ grep -nri XDG_RUNTIME_DIR=/run/user
poky/meta/lib/oeqa/runtime/cases/weston.py:34:        return 'export XDG_RUNTIME_DIR=/run/user/`id -u weston`; export WAYLAND_DISPLAY=wayland-1; %s' % cmd
poky/meta/recipes-graphics/wayland/weston-init/weston-start:60:	export XDG_RUNTIME_DIR=/run/user/`id -u ${WESTON_USER}`
poky/meta/recipes-graphics/wayland/weston-init/weston-start:71:su -c "XDG_RUNTIME_DIR=/run/user/`id -u ${WESTON_USER}` weston $weston_args --log=/tmp/weston.log" $WESTON_USER
meta-variscite-sdk/dynamic-layers/fsl-sdk-release/recipes-qt/qt6/qtbase/qt6-linuxfb.sh:3:	export XDG_RUNTIME_DIR=/run/user/$(id -u)
meta-variscite-sdk/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend:41:		echo "    export XDG_RUNTIME_DIR=/run/user/\$(id -u)" &amp;gt;&amp;gt; ${D}${sysconfdir}/profile.d/qt5.sh
meta-variscite-sdk/recipes-graphics/wayland/weston-service/weston-app.sh:7:        export XDG_RUNTIME_DIR=/run/user/`id -u`&lt;/LI-CODE&gt;&lt;P&gt;Well, I have no QT, so I need to run somehow&amp;nbsp; weston-app.sh or weston-start.&lt;BR /&gt;On my distro I have:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DISTRO_FEATURES:append = " x11 \
                           wayland \
                           weston-xwayland \&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone tell me what should I configure to be able to run the weston-app.service? Now I have no weston-app.service on my build.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 10:31:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1713174#M211654</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-08-29T10:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715039#M211804</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209639"&gt;@Anton_K&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;I have a few queries to ask, Please find them below.&lt;/P&gt;
&lt;P&gt;1)Please share the Linux BSP version, EVK you are using.&lt;BR /&gt;2)Please share the documents or Sequence of commands you have been following.&lt;BR /&gt;3)Please share the error logs as well as the console logs.&lt;BR /&gt;4)Please share the Yocto version you are using.&lt;/P&gt;
&lt;P&gt;These will help us to debug the issue.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,|&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 11:57:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715039#M211804</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-08-31T11:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715057#M211805</link>
      <description>&lt;P&gt;Hello, thanks for response.&lt;BR /&gt;1. Based on variscite-bsp. I don't know where to see the version, around this commit:&amp;nbsp;4c281f95ebfd49094f1944b6753d725dd775f8af Probably minus several commits before&lt;BR /&gt;2. I'm calling gst-launch1.0 and for graphics it requires&amp;nbsp;XDG_RUNTIME_DIR path. This might be environment variable&lt;BR /&gt;3. simple error:&amp;nbsp;error: XDG_RUNTIME_DIR not set in the environment. I can set this variable manually, but I guess it should be installed&lt;BR /&gt;4. Yocto Kirkstone v15.5.60&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, Anton&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 12:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715057#M211805</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-08-31T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715587#M211850</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209639"&gt;@Anton_K&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Please refer to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;section 7.1 Creating a custom distro&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;in the below link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;section 5.6.3 Wayland image on i.MX 8M Quad EVK in the below link.&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf&amp;amp;source=gmail&amp;amp;ust=1693637469997000&amp;amp;usg=AOvVaw14k7KSZFQZ7ypD1SD6Wcsa"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;user-guide/IMX_YOCTO_PROJECT_&lt;WBR /&gt;USERS_GUIDE.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please also refer to&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Chapter 10 Wayland and Weston&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the below link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/user-guide/IMX_GRAPHICS_USERS_GUIDE.pdf&amp;amp;source=gmail&amp;amp;ust=1693637469997000&amp;amp;usg=AOvVaw1XBolWRpQKW2_2fMCuCLVC"&gt;https://www.nxp.com/docs/en/&lt;WBR /&gt;user-guide/IMX_GRAPHICS_USERS_&lt;WBR /&gt;GUIDE.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will help you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 06:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1715587#M211850</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-09-01T06:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1716450#M211961</link>
      <description>&lt;P&gt;There is really no solution on the links. I must use&amp;nbsp;XDG_RUNTIME_DIR=/run/user/'id -u' as environment setup. This is the end.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 10:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1716450#M211961</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-09-04T10:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1716925#M212024</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209639"&gt;@Anton_K&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I hope you are doing well.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;So, If there are no further queries from your side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shall I close this thread?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 07:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1716925#M212024</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-09-05T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: yocto build with weston graphics. XDG_RUNTIME_DIR path issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1717072#M212037</link>
      <description>&lt;P&gt;Hi, sure, close this thread. Thank you anyway&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 09:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-build-with-weston-graphics-XDG-RUNTIME-DIR-path-issue/m-p/1717072#M212037</guid>
      <dc:creator>Anton_K</dc:creator>
      <dc:date>2023-09-05T09:44:39Z</dc:date>
    </item>
  </channel>
</rss>

