Super-productivity: Chrome-sandbox error can't start

Created on 10 May 2019  路  10Comments  路  Source: johannesjo/super-productivity

The appImage binary (./superProductivity-2.6.1-x86_64.AppImage) can't start on my linux box.
It reports the following:

zenity, kdialog, Xdialog missing. Skipping /tmp/.mount_superPjindcV/AppRun.
[5875:0510/021957.574089: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_superPjindcV/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
bug

Most helpful comment

version 2.6.3 works in my system! ;)

All 10 comments

Hi, I happened to run in to this one also.

IIRC it is due to a new security option in Electron and user namespaces that needs to be enabled using sysctl in your kernel for this to be allowed.
kernel.unprivileged_userns_clone=1

It seems that workaround by @ArjenR or the solutions here https://github.com/electron/electron/issues/17972 do not work with snap installed app -> https://github.com/scratux/scratux/issues/1#issuecomment-488665831
Still trying to find a solution,,,,

I use the appimage. So if you cannot be without, perhaps downgrade to an ealier version or switch to appimage as workaround?

Never used appImage.
i won't downgrade just in case i get some data corruption :fearful: and for AppImage i guess it's the same problem, i cannot export my data and import to the AppImage version

The data is not stored inside the snap or appimage, but in your userprofile.
~/config/superProductivity/
Just make a backup of that one to be sure there is no corruption.

btw i could open the snap version by running from the directory

/snap/superproductivity/current/superproductivity --no-sandbox

Now working in trying to recover my data

Thanks everybody for looking into it. Don't have my linux laptop with me, but downgrading electron might fix this. Can't say if this will have any side effects though. I will publish a pre release in a minute or so (candiate/edge channel for the snap version).

Would be really nice if someone could test this and report if the issue still persists.

version 2.6.3 works in my system! ;)

The initial comment provides a workaround to disable the sandbox for Linux builds.
https://github.com/electron-userland/electron-builder/issues/3872

Thanks @johannesjo !! I can confirm the snap version works in Ubuntu without the workaround of kernel.unprivileged_userns_clone
EDIT: Guess we could close this one?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexanderadam picture alexanderadam  路  3Comments

mbostanara picture mbostanara  路  3Comments

NPReport picture NPReport  路  3Comments

sdruskat picture sdruskat  路  3Comments

wada3n picture wada3n  路  3Comments