2,851
社区成员




通过Wayland terminal运行dbus-lanuch程序报错
1.开发板连接显示器;
2.打开Wayland terminal;
3.在该终端上设置环境:export PATH=$PATH:/usr/sbin:/sbin
4.在该终端上运行dbus-lanuch,出现/usr/bin/dbus-daemon没权限访问题:
“Failed to execute message bus daemon /usr/bin/dbus-daemon:Permission denied.”
5.而且会发现其他各种访问问题,例如运行命令:cd ~ 也会报错
首先是处理一下文件系统的挂载权限:
adb shell uname -a
adb shell cat /firmware*/v*/v*
adb shell "cat /proc/mounts | grep ext4"
adb shell mount -o remount,rw /
adb shell "cat /proc/mounts | grep ext4"
如果还是不行, 就修改disable掉verity权限:
adb wait-for-device root
adb disable-verity
adb reboot
adb wait-for-device root
adb shell mount -o remount,rw /
adb shell "cat /proc/mounts | grep ext4"
如果还是不行, 我们就关闭selinux:
adb root
adb shell setenforce permissive