最简单方式解决AppImage程序无法运行[sandbox问题]
Tofloor
poster avatar
jief_li
deepin
2020-06-07 11:18
Author
本帖最后由 jief_li 于 2020-6-7 16:43 编辑

升级deepin20之后运行以往AppImage软件没反应(安利一款本人正在用的仅一个AppImage格式软件《Motrix》)。控制台管理员模式运行,提示信息说可以尝试添加参数 --no-sandbox 好了,能运行,但是不可能每次都要这么打开很麻烦。
提示信息还有其他关键信息,搜索关键信息 The SUID sandbox helper binary was found, but is not configured correctly 嘿嘿,有了(常规尿性看到csdn直接pass,看英文网站 ps:个人建议用bing搜索好点)
回复说 debian10(buster)会出现这问题(应该是考虑到10版本安全问题吧,把沙箱环境配置改了),而正好deepin20就是基于debian10的。
参考链接:https://github.com/tutao/tutanota/issues/1565
解决办法:
修改 /etc/sysctl.conf 添加以下参数
kernel.unprivileged_userns_clone=1
忘了要不要重启,跟环境有关的最好都重启
Reply Favorite View the author
All Replies
avatar
xiamingyu
deepin
2020-06-07 13:44
#1
Reply View the author
avatar
131******06
deepin
2020-06-07 17:06
#2
有用,赞一个
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-06-07 17:42
#3
其实Motrix提供deb的
Reply View the author
avatar
海天鹰
deepin
2020-06-07 19:18
#4
这个问题好像遇到过
Reply View the author
avatar
jief_li
deepin
2020-06-07 20:31
#5
https://bbs.deepin.org/post/195642
其实Motrix提供deb的

有免安装版就坚决不用deb
Reply View the author
avatar
Ziggy
deepin
2020-06-07 22:17
#6
https://bbs.deepin.org/post/195642
其实Motrix提供deb的

可能有的deb依赖问题装不上
Reply View the author
avatar
jief_li
deepin
2020-06-08 00:49
#7
https://bbs.deepin.org/post/195642
可能有的deb依赖问题装不上

不过通常都提示了具体的依赖,再单独安装它就好了。不过始终还是绿色版的appimage更香
Reply View the author
avatar
花心胡萝卜
deepin
2020-06-11 00:59
#8
不用重启, 修改完成, 执行 sudo  sysctl -p 搞定
Reply View the author
avatar
duanchi
deepin
2020-08-23 20:36
#9
可行!非常完美。果然想解决还是简单搜索一下比较好。
Reply View the author