Xwayland-24.1.11

Introduction to Xwayland

The Xwayland package is an Xorg server running on top of the wayland server. It has been separated from the main Xorg server package. It allows running X clients inside a wayland session.

Additional Downloads

Xwayland Dependencies

Required
A userland graphics driver (Mesa-26.0.1 and/or NVIDIA (NVIDIA-595.71.05 or NVIDIA-580.159.03)) (runtime), libxcvt-0.1.3, Pixman-0.46.4, Wayland-Protocols-1.48, Xorg Applications (runtime), and Xorg Fonts (only font-util)

Recommended
libepoxy-1.5.10, libgbm-1.0.6, and libglvnd-1.7.0

Optional
Mesa-26.0.1 (for loading GLX llvmpipe/softpipe drivers) and Nettle-4.0

Installation of Xwayland

Allow building the package if the DRI interface isn't installed (used for Mesa software drivers) by applying a patch:

patch -Np1 -i ../xwayland-24.1.11-dri.patch

Install xwayland by running the following commands:

sed -i '/install_man/,$d' meson.build &&

mkdir build &&
cd    build &&

meson setup --prefix=/usr                  \
            --buildtype=release            \
            -D xkb_output_dir=/var/lib/xkb \
            -D secure-rpc=false            \
            .. &&

ninja

Now, as the root user:

ninja install

If Xorg-Server-21.1.22 is not installed and you do not plan to install it later, you can install Xvfb from this package. As the root user:

install -vDm755 hw/vfb/Xvfb -t /usr/bin/

Command Explanations

Note

Inspect meson_options.txt or meson.options for a full list of options.

sed -i '/install_man/,$d' meson.build: Prevents installing a manual page for Xserver, which is also provided by Xorg-Server-21.1.22. Remove this command if Xorg-Server-21.1.22 is not installed and you don't plan to install it later.

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

-D secure-rpc=false: Disables RPC support as libtirpc was not built.

Contents

Installed Program: Xwayland
Installed Library: None
Installed Directory: None

Short Descriptions

Xwayland

is a minimal X server that can run on top of Wayland to allow Xorg clients to execute