Xwayland-24.1.8

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.

Xwayland Dependencies

Required

A userland graphics driver (Mesa-25.1.4 and/or NVIDIA-575.64), libxcvt-0.1.3, Pixman-0.46.2, Wayland-Protocols-1.45, Xorg Applikasjoner (runtime), and Xorg Fonts (only font-util)

Recommended

Installation of Xwayland

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 &&
install -vdm1777 /tmp/.X11-unix &&
if [ -z "$(grep .X11-unix /etc/sysconfig/createfiles)" ]; then
cat >> /etc/sysconfig/createfiles << "EOF"
/tmp/.X11-unix dir 1777 root root
EOF
fi

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

install -vm755 hw/vfb/Xvfb /usr/bin

Command Explanations

[Notat]

Notat

Undersøk meson_options.txt eller meson.options for en fullstendig liste over alternativer.

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

--buildtype=release: Spesifiser en byggetype som er egnet for stabile utgivelser av pakken, da standardtypen kan produsere uoptimaliserte binærfiler.

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

cat >> /etc/sysconfig/createfiles...: This command creates the /tmp/.X11-unix directory at startup, and ensures that the permissions and ownership are correct as required by applications using Xwayland.

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