Cannot run brave and some electron programs (chromium sandbox issue)

Hi!
When ungoogled-chromium, brave and some electron programs are launched, it keeps showing these error messages:
.....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. .....
and
... zygote_linux.cc(662)] write: Broken pipe (32)

I set security.chromiumSuidSandbox.enable = true;, and it makes only ungoogled-chromium working, other software also cannot be launched with the same error messages.

Please help!

1 Like

The electron programs is actually jitsi-meet-electron.

Hey,

are you using a hardend kernel maybe?

If so, see: After upgrading to NixOS 20.09, some applications do not start when using linuxPackages_hardened, complaining about chrome-sandbox · Issue #97682 · NixOS/nixpkgs · GitHub

2 Likes

are you using a hardend kernel maybe?

Yes you are right!
Setting boot.kernel.sysctl."kernel.unprivileged_userns_clone" = 1; and the programme can launch!

I cannot found that thread before, thank you very much!!

2 Likes