|
楼主 |
发表于 2023-8-9 14:29:28
|
显示全部楼层
谢谢答复,现在已经烧录进去了。目前发现用 buildroot 打包的文件系统,无法切换 su 权限。错误打印如下:
- [red@localhost:/]$ su
- su: can't set groups: Operation not permitted
复制代码
在网上搜了一番还未解决
并且尝试启动 weston,发现也无法启动:
[red@localhost:/]$ weston
Date: 1970-01-01 UTC
[00:15:04.650] weston 8.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 8.0.0
[00:15:04.652] Command line: weston
[00:15:04.652] OS: Linux, 4.19.232, #2 SMP Tue Aug 8 16:53:48 CST 2023, aarch64
[00:15:04.653] warning: XDG_RUNTIME_DIR "/var/run" is not configured
correctly. Unix access mode must be 0700 (current mode is 700),
and must be owned by the user (current owner is UID 1001).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[00:15:04.657] Using config file '/etc/xdg/weston/weston.ini'
[00:15:04.659] Output repaint window is -1 ms maximum.
[00:15:04.660] Loading module '/usr/lib/libweston-8/drm-backend.so'
[00:15:04.662] initializing drm backend
[00:15:04.663] Entering mirror mode.
[00:15:04.663] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
[00:15:04.664] fatal: failed to create compositor backend
Internal warning: debug scope 'drm-backend' has not been destroyed.
不知道是不是权限问题。 |
|