cabal-club / cabal-desktop

Desktop client for Cabal, the p2p/decentralized/local-first chat platform.
https://cabal.chat
GNU Affero General Public License v3.0
850 stars 78 forks source link

Latest cabal-desktop release crashes on startup #157

Open khimaros opened 5 years ago

khimaros commented 5 years ago
$ ./cabal-desktop-3.1.0-linux-x86_64.AppImage
[29233:0731/110749.371437: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_cabal-sCCLz2/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap
khimaros commented 5 years ago

I was able to workaround with the following:

$ sudo sysctl kernel.unprivileged_userns_clone=1

Source: https://github.com/electron/electron/issues/17972

vladimiry commented 5 years ago

You could also run it with --no-sandbox argument. My guess is that one day electron-builder will have appimage package shipped with this argument hardcoded in sh loader script.

tiotrom commented 5 years ago

Same here:


[tio@tio-pc ~]$ '/home/tio/Applications/cabal-desktop-3.1.1-linux-x86_64_00000000000000000000000000000000.AppImage' 
qt5ct: using qt5ct plugin
AppImageLauncher error: appimage_shall_not_be_integrated() failed (returned -1)
AppImageLauncher error: appimage_is_terminal_app() failed (returned -1)
[27363:0810/122317.593595: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_cabal-FPutd4/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)