<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<div>Hi,</div>
<div>
<br /></div>
<div>Thanks for your response.</div>
<div>I am still not sure about how to run X-clients (xeyes, xcalc, xclock etc) on Weston running with xwayland module.</div>
<div>I did:</div>
<div> export DISPLAY=':0'</div>
<div>and tried to run Xclient. But I am getting the same error:</div>
<div>
<br /></div>
<div>Error: Can't open display: :0</div>
<div>
<br /></div>
<div>I don't know what's the reason behind this, even though Weston is listening on the X11 socket, as I am getting "xserver listening on display :0" in weston.log</div>
<div>
<br /></div>
<div>Can you point me at some basic X-client/app which I'd be able to run successfully on my weston+xwayland environment?</div>
<div>PS I just want to make sure that Weston with xwayland really works or else I'd have cross-compile whole Xorg server just to run X-clients on my EVM.</div>
<div>
<br /></div>
<div>Thanks</div>
<div>Devashish
<br /></div>
<div>
<br /></div>
<div><font size="2"><b>On Tue, 3 Dec 2019 10:54:47 +0200, Pekka Paalanen wrote</b></font></div>
<font size="2">On Tue, 3 Dec
2019 12:26:59 +0530
<br />
"Devashish Tiwari" <devashish@cdot.in> wrote:
<br />
<br />
> Hello,
<br />
>
<br />
> It seems like Weston with Xwayland is still not working for me.
<br />
> Despite of the positive xserver-related prints I get in weston.log
<br />
> file :
<br />
>
<br />
<br />
> ---------------
<br />
>
<br />
> [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 />
>
<br />
> ---------------
<br />
<br />
>
<br />
> I am not able to run any X-client within weston-terminal. My $DISPLAY
<br />
> variable is set to ":0" by default, but as I run any X-client
<br />
> (xclock, xconsole, xhost, xcalc etc.) or any X11 basic sample code I
<br />
> get following error:
<br />
>
<br />
> Error: Can't open display: :0
<br />
<br />
Hi,
<br />
<br />
Weston launches Xwayland on-demand. The log snippet above does not mean
<br />
Xwayland was already started, it's just Weston listening on the X11
<br />
socket. Check your Weston stdout/stderr after you failed to launch an
<br />
X11 app.
<br />
<br />
You can also 'strace' your X11 app to see if it e.g. doesn't have the
<br />
permission to the open the socket for some strange reason.
<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>