Hello, I am trying to install Cursor on a fresh Ubuntu 24.04 and I keep getting this error:
Command: ./cursor-0.33.1x86_64.AppImage
Output:
[15782:0509/084956.875712: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 /tmp/.mount_cursorgbp94S/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
I am not very prolific with AppImage, could you give me any tip to continue the installation?
You don’t even need apparmor just locate your AppImage and execute it with the option --appimage-extract. Drop into squashfs-root directory and input chmod 4755./chrome-sandbox as well as chown root:root ./chrome-sandbox. Then just run the “cursor” script from there in your applications widget, of course you have the .desktop or however else you prefer.
Would it not make sense to fix this in the AppImage? The workaround as stated above can be to --appimage-extract, then mv squashfs-root cursor && cd cursor and finally sudo chown root:root chrome-sandbox && sudo chmod 4755 chrome-sandbox.
A solution might be to have the expected ownership and permissions for chrome-sandbox in the AppImage to begin with, so no extraction or AppArmor adjustment is needed.
I did it your way and it installed, ubuntu asked me to reboot the computer and when rebooting it shows like this, I cant access ubuntu anymore. do you know how to fix it?
I feel like Ubuntu 24.04.1 is completely broken. I tried it, gave up and went to 22.04, just not worth the effort right now (unless you are lucky and things are magically working for you)
Thank you for properly code-blocking that, I’m new to forums hah.
I entirely agree, I’m not familiar enough with AppImages to determine if you are allowed to compile something to have a file be owned by the users root though.
@heydan98 what do you mean by “I did it your way”. I assume because Ubuntu asked you to reboot that you are talking about the AppArmor way as changing the appimage shouldn’t have had to do anything system-wide. If you have issues otherwise though feel free to send a message I don’t mind troubleshooting if I can assist in any way.
@heydan98 man I have the exact same problem right now with my system. I have just installed cursor editor and when I restarted my machine, I got prompted by this screen. I am trying to solve this thing for several hours now. Can someone please help? Also @siegemt