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

When ungoogled-chromium, brave and some electron programs are launched, it keeps showing these error messages:] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. .....
...] 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.


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


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!!