electron-angular-example icon indicating copy to clipboard operation
electron-angular-example copied to clipboard

Linux SUID Sandbox Development

Open nextlevelshit opened this issue 9 years ago • 1 comments

On my Debian GNU/Linux 8 machine i got the following error while debugging or running electron. npm debug and npm start are throwing:

[21299:0114/221454:ERROR:browser_main_loop.cc(171)] Running without the SUID sandbox! 
See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for 
more information on developing with the sandbox on. Debugger listening on port 5858

So client/app/main.ts cannot be compiled correctly.

nextlevelshit avatar Jan 14 '16 21:01 nextlevelshit

Following the link in the message, you'll see the option --disable-setuid-sandbox. Did you try starting with this?

It's not listed on https://github.com/atom/electron/blob/master/docs/api/chrome-command-line-switches.md, but it's worth a try. The message is Chrome specific, and it would be up to electron to support that switch.

jimschubert avatar Jan 16 '16 20:01 jimschubert