Weston

Weston is Article description::a reference implementation of a [[Wayland compositor.]] It is part of the Wayland project and can run as an X client or under Linux Kernel Mode Setting (KMS).

Usage
The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.

Enable the  USE flag for building example applications like  or.

Weston is configured on a local level with the file (cf. ).

The environment variable can be defined in the usual configuration files. For example, if sets XDG_RUNTIME_DIR variable in his Bash shell's configuration file and he has chosen that the directory will be in.

To launch the compositor as a standalone display server (i) enable systemd session support for weston-launch (by USE=systemd), (ii) or users without systemd are referred to the section below.

On a VT (outside of X), launch Weston with the DRM backend:

Ditto, with XWayland support:

Nest a weston instance "wayland-1" in another Weston "wayland-0":

From an X terminal, launch Weston with the x11 backend:

weston-launch without systemd
As of Nov 2021 (weston-9.0.0-r1), users without systemd need the workaround below. As solved in, weston-9999 introduced the USE flag "seatd", enabling elogind as a substitute of systemd.

You have to create the group named "weston-launch", and add the user to that group:

Notice: This might be unbelievable, but true: The group name "weston-launch" is hardcoded, and the command weston-launch checks if the user belongs to it. It is not relevant e.g. a device file is writable to a user.