[root@rk3328:/]# XDG_RUNTIME_DIR=/tmp/xdg weston
librga:RGA_GET_VERSION:4.00,4.000000
ctx=0x165abc20,ctx->rgaFd=3
Rga built version:version:+2017-09-28 10:12:42
Date: 2016-01-21 UTC
[10:41:36.065] weston 3.0.0 http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/ent ... n&version=3.0.0
Build: unknown (not built from git or tarball)
[10:41:36.067] Command line: weston
[10:41:36.067] OS: Linux, 4.4.194-ge09d1b2795b3, #196 SMP Thu Jul 30 14:40:02 CST 2020, aarch64
[10:41:36.068] warning: XDG_RUNTIME_DIR "/tmp/xdg" is not configured
correctly. Unix access mode must be 0700 (current mode is 755),
and must be owned by the user (current owner is UID 0).
Refer to your distribution on how to get it, or http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[10:41:36.074] Using config file '/etc/xdg/weston/weston.ini'
[10:41:36.076] Output repaint window is 15 ms maximum.
[10:41:36.077] Loading module '/usr/lib/libweston-3/drm-backend.so'
[10:41:36.095] initializing drm backend
[10:41:36.096] <stdin> not a vt
[10:41:36.096] if running weston from ssh, use --tty to specify a tty
[10:41:36.096] fatal: drm backend should be run using weston-launch binary or as root
[10:41:36.097] fatal: failed to create compositor backend