when i try to open new javascript debug terminal, i only getting Activating extensions message on the left bottom side of the window. Same if i try to run node js application via npm run --inspect mode
Hey, this is a known issue with cursor-sandbox on Arch Linux. Kernel 7.x+ restricts unprivileged user namespaces by default, so the extension host can’t start and gets stuck on Activating Extensions.
Hi! Thanks for reaching me! I tried all the methods you send me, but none of them helped me unfortunately, the only thing that worked for me is to use official AppImage
Glad the AppImage worked. That’s a valid workaround since it ships its own environment and the cursor-sandbox issue doesn’t reproduce there.
If you want to finish debugging the installed version, can you share:
Which package did you install (AUR cursor-bin, cursor-extracted, or something else)? The cursor-sandbox path might be different from /usr/share/cursor/resources/app/resources/helpers/cursor-sandbox. Please check with find / -name cursor-sandbox 2>/dev/null and run chmod 4755 on the file it finds.
After the sysctl commands, what’s the output of sysctl kernel.unprivileged_userns_clone kernel.apparmor_restrict_unprivileged_userns? On Arch with AppArmor you might also need sudo aa-teardown or to disable the Cursor profile.
Start Cursor from a terminal and paste the output, it should show the sandbox errors.
If the AppImage is fine for you, it’s totally OK to stay on it, that’s a normal solution on Arch.