Unable to run X-clients over Weston through XWayland

Pekka Paalanen ppaalanen at gmail.com
Tue Dec 3 08:54:47 UTC 2019

On Tue, 3 Dec 2019 12:26:59 +0530
"Devashish Tiwari" <devashish at cdot.in> wrote:

> Hello,
> 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 :

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

> 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:
> Error: Can't open display: :0


Weston launches Xwayland on-demand. The log snippet above does not mean
Xwayland was already started, it's just Weston listening on the X11
socket. Check your Weston stdout/stderr after you failed to launch an
X11 app.

You can also 'strace' your X11 app to see if it e.g. doesn't have the
permission to the open the socket for some strange reason.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20191203/d71ebd5b/attachment.sig>

More information about the wayland-devel mailing list