jupyterlab / jupyterlab-desktop

JupyterLab desktop application, based on Electron.
BSD 3-Clause "New" or "Revised" License
3.75k stars 362 forks source link

Crash after upgrading to Ubuntu 24.04 #870

Open krassowski opened 1 month ago

krassowski commented 1 month ago

Description

jlab .
[514889:0921/151946.918521:FATAL: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.
You need to make sure that /opt/JupyterLab/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Reproduce

  1. Install JupyterLab Desktop on Ubuntu 23.10
  2. It works
  3. Update to Ubuntu 24.04
  4. It does not work

Expected behavior

Works

Context

krassowski commented 1 month ago

Looks related to https://github.com/electron/electron/issues/42510#issuecomment-2171583086 which contains a workaround - I can confirm that disabling kernel.apparmor_restrict_unprivileged_userns does work. I will try to reinstall with a snap package now.

krassowski commented 1 month ago

Also, a safer workaround:

jlab .  --no-sandbox

as this only removes sandbox for jlab rather than disabling it globally.