Xwayland crashesh

I try to run Xwayland under wayland session with kwin_wayland as compositor. It crash during startup.


LANG=C Xwayland :20
(EE) 
(EE) Backtrace:
(EE) 0: Xwayland (xorg_backtrace+0x79) [0x55a3ae518329]
(EE) 1: Xwayland (0x55a3ae37c000+0x1a0028) [0x55a3ae51c028]
(EE) 2: /lib64/libpthread.so.0 (0x7f0f2c860000+0x141e0) [0x7f0f2c8741e0]
(EE) 3: /usr/lib64/libwayland-client.so.0 (wl_proxy_marshal_constructor+0x86) [0x7f0f2cd614a6]
(EE) 4: Xwayland (0x55a3ae37c000+0x45776) [0x55a3ae3c1776]
(EE) 5: Xwayland (0x55a3ae37c000+0x15766a) [0x55a3ae4d366a]
(EE) 6: Xwayland (MapWindow+0x1a1) [0x55a3ae5119b1]
(EE) 7: Xwayland (0x55a3ae37c000+0x16df75) [0x55a3ae4e9f75]
(EE) 8: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7f0f2c6c0ceb]
(EE) 9: Xwayland (_start+0x2a) [0x55a3ae3bfe3a]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
Przerwane (zrzut pamięci)

Why do that?

As far as I can tell, Xwayland is automatically started as part of the Wayland session. You don’t need to start it.


% ps -ef | grep -i wayland
rickert   2919  2879  0 10:53 tty2     00:00:00 /usr/lib/gdm/gdm-wayland-session --register-session env GDK_BACKEND=wayland QT_QPA_PLATFORM=wayland dbus-run-session /usr/bin/startplasma-wayland
rickert   2923  2919  0 10:53 tty2     00:00:00 dbus-run-session /usr/bin/startplasma-wayland
rickert   2925  2923  0 10:53 tty2     00:00:00 /usr/bin/startplasma-wayland
rickert   2946  2925  7 10:53 tty2     00:00:15 /usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib64/libexec/startplasma-waylandsession
rickert   2954  2946  0 10:53 tty2     00:00:00 /usr/bin/Xwayland -displayfd 33 -rootless -wm 36 -auth /run/user/1001/xauth_FkrHBZ
rickert   2961  2946  0 10:53 tty2     00:00:00 /usr/lib64/libexec/startplasma-waylandsession
rickert   3379  3210  0 10:57 pts/2    00:00:00 grep -i wayland

What are you trying to do?
Normally XWayland is not necessary, Wayland is implemented as a socket service and not with or as an X Server.
A Wayland X server may be required only for special situations where an application expects to connect to an X server.

TSU

Thank for help and sorry to waste your time :slight_smile: .
Running Xwayland under Wayland session is suggested as the best way to get Xpra server with graphic acceleration. Xpra server is extra software, which allows to allow access to desktop (Video, Sound, clipboard, etc.), printers remotely.
I will test is there another way.