
If you’re seeing the following error while editing in Cursor: “Terminal sandbox could not start. This may be caused by an AppArmor configuration on your Linux system (kernel 6.2+). See the documentation for how to resolve this.” Apply the below change to your Ubuntu server.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
