Ubuntu 24.04运行AppImage提示'The SUID sandbox helper binary was found'

错误类似如下:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
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/.xxxxx/chrome-sandbox is owned by root and has mode 4755.
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/.xxxxx/chrome-sandbox is owned by root and has mode 4755.
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/.xxxxx/chrome-sandbox is owned by root and has mode 4755.

解决方案:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

注意这个只对启动有效,重启后就无效了

Leave a Reply

Your email address will not be published. Required fields are marked *