Weston

Part of the Wayland project is a reference implementation of a Wayland compositor called Weston. Weston can run as an X client or under Linux 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, either enable systemd session support for weston-launch (by using systemd and having the systemd-login devel headers at configure time), or add the user to the "weston-launch" group:

Log all the way out of X, then:

Launch Weston with the DRM backend on a VT (outside of X):

Launch Weston with the DRM backend and XWayland support:

Launch Weston (wayland-1) nested in another Weston instance (wayland-0):

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