failed to create compositor backend
I've successfully installed weston. But When I run weston, there comes the following error.
[06:29:15.433] weston 2.0.0 http://wayland.freedesktop.org Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0 Build: unknown (not built from git or tarball) [06:29:15.433] Command line: weston [06:29:15.433] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64 [06:29:15.434] Using config file '/etc/xdg/weston/weston.ini' [06:29:15.434] Output repaint window is 34 ms maximum. [06:29:15.435] Loading module '/usr/lib/libweston-2/drm-backend.so' [06:29:15.444] initializing drm backend [06:29:15.445] logind: failed to get session seat [06:29:15.445] logind: cannot setup systemd-logind helper (-61), using legacy fallback [06:29:15.445] fatal: drm backend should be run using weston-launch binary or as root [06:29:15.446] fatal: failed to create compositor backend
And if I run weston-launch, It remindes me:
weston-launch: Permission denied. You should either: - enable systemd session support for weston-launch. - or add yourself to the 'weston-launch' group.
How can I fix this?
Thanks Wade Xu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information