> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable XWayland

XWayland is a compatibility layer that allows X11 applications to run in a Wayland environment. It translates X11 protocol requests into Wayland-compatible operations.

Run the following commands to enable XWayland for the display subsystem:

<Note>
  You must enable SSH to access your host device. For instructions, see [Sign in using SSH](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh).
</Note>

> ```text theme={null}
> systemctl stop weston.service
> ```

> ```text theme={null}
> export XDG_RUNTIME_DIR=/run/user/1000 && mkdir -p $XDG_RUNTIME_DIR && weston --continue-without-input --idle-time=0 --backend=drm-backend.so --xwayland
> ```

<Note>If the XWayland compositor fails to launch, restart the device and run the commands again.</Note>

Upon running the commands, you should see the following Weston flower pattern on the display monitor.

<div className="flex flex-col items-center gap-2">
  <img src="https://mintcdn.com/qualcomm-prod/mGpYCfBsZaJSFIEo/Technologies/Display/media/qli-display/Weston_flower_pattern.PNG?fit=max&auto=format&n=mGpYCfBsZaJSFIEo&q=85&s=7be04aa671e4986b111a23843ab2033c" alt="Figure: Weston flower pattern" width="680" height="376" data-path="Technologies/Display/media/qli-display/Weston_flower_pattern.PNG" />

  <p className="text-sm text-gray-700">**Figure: Weston flower pattern**</p>
</div>
