Cannot launch cursor without --no-sandbox

I am running Ubuntu 24.04.1, and I am unable to run cursor without including the flag --no-sandbox when opening it from the CLI. This blocks me from being able to open cursor from a dock icon.

More problematically, it seems to make it impossible for me to update cursor. The auto-update suggestions just close the browser, but when I re-open the version has not updated. Is there a way I can execute the updates from the command line so I can manually include the --no-sandbox flag as well?

1 Like

Summary: Run the following command and reboot.

echo 'kernel.apparmor_restrict_unprivileged_userns = 0' | 
  sudo tee /etc/sysctl.d/20-apparmor-donotrestrict.conf

As described in this post, you must disable Ubuntu’s AppArmor user namespace creation restrictions.

A more elegant way, would be to create an AppArmor profile but that breaks the “download and run” idea of AppImages.