Linux 安装PicGo问题

时间:2022-07-25
本文章向大家介绍Linux 安装PicGo问题,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

使用deepin安装PicGo时,由于时制作的AppImage包,我们可以直接在终端加上执行权限后运行,但是运行的时候报错

[1827:0619/220927.597934:FATAL:
setuid_sandbox_host.cc(157)] 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 /tmp/.mount_PicGo-okct0x/chrome-sandbox is owned by root and has mode 4755.

查阅资料说时内核的问题,有两种比较简单的方式解决

  1. 每次启动使用沙箱,加上参数 --no-sandbox
  2. 开机时自启动用户名称空间:echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf,不推荐,可能会因为权限问题无法设定,所以可以写一个bash脚本发送到桌面来启动
cd /path/to/app
./app.AppImage --no-sandbox