Unable to run X-clients over Weston through XWayland

Pekka Paalanen ppaalanen at gmail.com
Tue Nov 26 12:46:35 UTC 2019


On Tue, 26 Nov 2019 17:10:35 +0530
"Devashish Tiwari" <devashish at cdot.in> wrote:

> Hello,
> 
> Thanks for your response.
> 
> I am sorry if the link I attached was not visible to you. It's this
> one: Xwayland Compilation

Hi,

sorry, I don't do HTML emails, so there is no link in that.

> I don't know if my cross-build is wrong, because there were no errors
> during compilation. Can you please tell how should I check if it's
> compiled correctly or not?

I have no way of knowing. All I know is that Weston 2.0.0 source code
does not have a function named weston_compositor_init(), not defined
nor called. But your error message referred to such function, so I can
only assume that you are not running what you intended to.

> 
> Also, how should I specify the DRM-backend explicitly? Right now, my
> weston.ini file looks like this:

See 'man weston' and 'man weston.ini' for how to specify the backend.

The DRM-backend should be the default though, unless you configured the
build to use something else, or you have WAYLAND_DISPLAY or DISPLAY
environment variables defined.

Defining WAYLAND_DISPLAY environment variable manually would be a
mistake that could cause Weston to choose the Wayland-backend.

> 
> [core]
> require-input=false
> #xwayland=true
> 
> [shell]
> locking=false
> animation=zoom
> panel-position=top
> startup-animation=fade
> 
> [screensaver]
> # Uncomment path to disable screensaver
> #path=@libexecdir@/weston-screensaver
> 
> [xwayland]
> #path=/mnt/Xwayland
> 
> I have commented the xwayland entries because weston throws error on including them.

What errors?

If you refer to

>  > [02:19:21.735] Failed to load module: /usr/lib/libweston-2/wayland-backend.so: undefined symbol: weston_compositor_init 
>  > [02:19:21.735] fatal: failed to create compositor backend 

then those are not caused by the xwayland entries.


Thanks,
pq
-------------- 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/20191126/5e775bfb/attachment.sig>


More information about the wayland-devel mailing list