[meta-freescale] weston demos are not accessible by default

Otavio Salvador otavio at ossystems.com.br
Tue Apr 1 11:41:41 PDT 2014

Hello Daiane,

(Adding Ross in Cc)

On Tue, Apr 1, 2014 at 3:25 PM, Daiane.Angolini at freescale.com
<Daiane.Angolini at freescale.com> wrote:
> I was not sure which email to use as base for my test report, so I created a new one.
> If you follow the weston how-to-test there are the demos:
> $: weston-simple-shm => basic wayland example
> $: weston-simple-egl => basic wayland example. To make sure egl integration works fine
> $: weston-terminal => To make sure cairo integration works fine.
> Any will result in an error:
> error: XDG_RUNTIME_DIR not set in the environment.
> failed to connect to Wayland display: No such file or directory
> failed to create display: No such file or directory
> That is solved by:
> root at imx6qsabresd:~# export XDG_RUNTIME_DIR=/var/run/user/root
> But, from https://lists.yoctoproject.org/pipermail/meta-freescale/2013-October/005386.html
> I would expect the variable would be set by default, so no need to set it manually.
> Am I missing some point?
> (other than that, Weston works fine on imx6qsabresd)

It is indeed not very user friendly and I am don't understand why this
does not work out of box. Ross, do you know why weston does not do the
right thing by default?

Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

More information about the meta-freescale mailing list