[App Sharing] 思源笔记在uos下无法打开的情况
Tofloor
poster avatar
且听风云雨叶飞
deepin
2022-07-14 18:11
Author

下载后有个可执行二进制文件

➜  siyuan-2.0.23-linux ./siyuan 
[5736:0627/094431.668116:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/lubingyu/Software/siyuan-2.0.23-linux/chrome-sandbox is owned by root and has mode 4755.
[1]    5736 trace trap  ./siyuan
➜  siyuan-2.0.23-linux [5738:0100/000000.702219:ERROR:zygote_linux.cc(647)] write: 断开的管道 (32)

一直报错

后经过google得到解决办法

解决办法1

If the program is not packaged in a .AppImage file, you can simply set the right permissions to the chrome-sandbox file

(如果程序没有打包在 .AppImage 文件中,您可以简单地为 chrome-sandbox 文件设置正确的权限)

cd LosslessCut-linux
sudo chown root:root chrome-sandbox
sudo chmod 4755 chrome-sandbox

解决办法2

You can run the app with the --no-sandbox argument

(您可以使用 --no-sandbox 参数运行应用程序)

./LosslessCut-linux.AppImage --no-sandbox

解决办法3

Enable unprivileged access to CLONE_NEWUSER in your kernel

(在内核中启用对 CLONE_NEWUSER 的非特权访问)

sysctl kernel.unprivileged_userns_clone=1
Reply Favorite View the author
All Replies
吉吉如律令
deepin
2022-07-15 04:33
#1

思源笔记官网有提供AppImage格式的安装包,建议使用这个而非上述的二进制文件

另外我在deepin20.6上运行了该AppImage格式的文件,一切正常,UOS上运行应该也没有问题

Reply View the author
且听风云雨叶飞
deepin
2022-07-15 23:50
#2
吉吉如律令

思源笔记官网有提供AppImage格式的安装包,建议使用这个而非上述的二进制文件

另外我在deepin20.6上运行了该AppImage格式的文件,一切正常,UOS上运行应该也没有问题

是的,所以该文件目录下的版本是23

Reply View the author