<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>

<div>Hello,</div>

<div>
<br /></div>

<div>It seems like Weston with Xwayland is still not working for me. Despite of the positive xserver-related prints I get in weston.log file :</div>

<div>
<br /></div>

<div>---------------
<br /></div>

<div>
<br /></div>

<div>[02:43:02.573] Loading module '/usr/lib/libweston-2/xwayland.so'
<br />[02:43:02.587] Registered plugin API 'weston_xwayland_v1' of size 16
<br />[02:43:02.587] Registered plugin API 'weston_xwayland_surface_v1' of size 8
<br />[02:43:02.587] xserver listening on display :0
<br />[02:43:02.587] launching '/usr/libexec/weston-desktop-shell'
<br /></div>

<div>
<br /></div>

<div>---------------</div>

<div>
<br /></div>

<div>I am not able to run any X-client within weston-terminal. My $DISPLAY variable is set to  ":0" by default, but as I run any X-client (xclock, xconsole, xhost, xcalc etc.) or any X11 basic sample code I get following error:</div>

<div>
<br /></div>

<div>Error: Can't open display: :0</div>

<div>
<br /></div>

<div>I don't know why this error keeps popping up. Can you help?</div>

<div>
<br /></div>

<div>Thanks,</div>

<div>Devashish
<br /></div>

<div>
<br /></div>

<div>
<br /></div>

<div><font size="2"><b>On Mon, 2 Dec 2019 12:43:04 +0200, Pekka Paalanen wrote</b></font></div>
<font size="2">On Mon, 2 Dec 
2019 13:53:24 +0530 
<br /> 

"Devashish Tiwari" <devashish@cdot.in> wrote: 
<br /> 
<br /> 

> SDK version. But I was optimistic that Weston could be run with 
<br /> 

> xwayland on this EVM. And after adding some final dependencies, I 
<br /> 

> think it's good now. I have attached copied logs at the end of this 
<br /> 

> email. 
<br /> 

>  
<br /> 

> However, I wanted to ask if there are some sample 
<br /> 

> X-clients/applications which I could run to check if weston+xwayland 
<br /> 

> is really working or not. I tried to cross-compile xeyes for armhf 
<br /> 

> and tried to run it, 
<br /> 

>  
<br /> 

> but it showed following error: 
<br /> 

>  
<br /> 

> root@am57xx-evm:/mnt# ./xeyes  
<br /> 

> Error: Can't open display: 
<br /> 

>  
<br /> 

> Am I missing something else here, that is required to run X-apps? Any 
<br /> 

> Environment Variable or so? 
<br /> 
<br /> 

Hi, 
<br /> 
<br /> 

yes, the usual DISPLAY as always with any X11 stuff anywhere. Weston 
<br /> 

will set it, so all processes that inherit their environment from 
<br /> 

Weston will have it readily set, e.g. the launchers you can set up in 
<br /> 

weston.ini. 
<br /> 
<br /> 

Do note that xeyes specifically will only react to mouse when the 
<br /> 

pointer is on any X11 window. The X server cannot see any Wayland 
<br /> 

windows and cannot eavesdrop on input either. 
<br /> 
<br /> 

Thanks, 
<br /> 

pq 
<br />
<br />
<br />--  

<br />
 
<br />
Thanks & Regards, 

<br />
 
<br />
Devashish Tiwari 

<br />
Fault Tolerance 

<br />
#8587 

<br />

<br />
</font>

</BODY>
</HTML>