> ## 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.

# 运行 Weston simple EGL

Weston simple EGL 是一个示例测试应用程序，用于验证显示器上帧的合成与渲染。要运行该应用程序，请执行以下命令：

<Note>
  您必须启用 SSH 才能访问主机设备。有关说明，请参阅[使用 SSH 登录](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh)。
</Note>

> ```text theme={null}
> mount -o remount,rw /
> ```

> ```text theme={null}
> su
> ```

> ```text theme={null}
> . /etc/profile
> ```

> ```text theme={null}
> export XDG_RUNTIME_DIR=/run/user/1000 && mkdir -p $XDG_RUNTIME_DIR
> ```

> ```text theme={null}
> cd /usr/bin
> ```

> ```text theme={null}
> export WAYLAND_DISPLAY=wayland-1 && weston-simple-egl
> ```

下图显示了在显示器上运行的 Weston simple EGL 客户端应用程序。

<div className="flex flex-col items-center gap-2">
  <img src="https://mintcdn.com/qualcomm-prod/mGpYCfBsZaJSFIEo/Technologies/Display/media/qli-display/Weston_simple_EGL_client_application.PNG?fit=max&auto=format&n=mGpYCfBsZaJSFIEo&q=85&s=31938da74ab8ef02c4a297c04ae2da22" alt="图：Weston simple EGL 客户端应用程序" width="680" height="376" data-path="Technologies/Display/media/qli-display/Weston_simple_EGL_client_application.PNG" />
</div>

<Note>要终止该应用程序，请按 **CTRL + C**。</Note>
