Open dushmanta05 opened 2 months ago
You can also use:
sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
Not very reassuring if the first thing one sees is a fatal error like that without any useful explanation. All my other editors so far managed to not show such an error.
I don't like the workarounds disabling security features. Will this be fixed?
Same here and there is no really good feedback/interaction with developers, despite they use opensource code.
Same here
Any idea when this'll be fixed?
Kinda makes cursor unusable for most Ubuntu 24.04 users :shrug:
This worked for me,
./cursor-0.41.2x86_64.AppImage --appimage-extract
sudo chown root:root squashfs-root/chrome-sandbox
sudo chmod 4755 squashfs-root/chrome-sandbox
./squashfs-root/AppRun
I would not recommend to general set this:
sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
@martinkrung I've also implemented the same solution from Claude. Thanks.
Work with ./cursor.AppImage --no-sandbox
I'm still getting the SQLite errors even when using the --no-sandbox flag on fedora 40. I have the business plan so this needs to be fixed ASAP.
Ubuntu 24.04 restricts the use of non-privileged user namespaces. This affects all non-privileged programs on the system. An AppArmor configuration file must be written. You can install the AppImage tool written in Go by the inventor of the AppImage format.
mkdir -p /opt/appimages
url_path=`wget -q https://github.com/probonopd/go-appimage/releases/expanded_assets/continuous -O - | grep "appimaged-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2`
wget -c https://github.com/$url_path -P /opt/appimages/
chmod +x /opt/appimages/appimaged-851-x86_64.AppImage
/opt/appimages/appimaged-851-x86_64.AppImage
systemctl -l --no-pager --user status appimaged
After this, you just need to place the AppImage files in /usr/local/bin/ for automatic installation.
When I tried to run the AppImage on my Ubuntu 24.04 machine it throws this error
I tried a solution from stack overflow although it worked by adding
--no-sandbox
.