Cursor-0.48.7 cannot launch on ubuntu 24.04
Error:
./Cursor-0.48.7-x86_64.AppImage --no-sandbox
[7690:0403/120727.062548:ERROR:node_bindings.cc(380)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
[7690:0403/120727.062607:ERROR:node_bindings.cc(380)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
out_of_range was thrown in -fno-exceptions mode with message "basic_string"[1] 7690 IOT instruction (core dumped) ./Cursor-0.48.7-x86_64.AppImage --no-sandbox
Or
env XDG_DATA_DIRS=/usr/share:/usr/local/share ./Cursor-0.48.7-x86_64.AppImage --no-sandbox
[11103:0403/121518.129772:ERROR:node_bindings.cc(380)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
[11103:0403/121518.129831:ERROR:node_bindings.cc(380)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details.
out_of_range was thrown in -fno-exceptions mode with message "basic_string"[1] 11103 IOT instruction (core dumped) env XDG_DATA_DIRS=/usr/share:/usr/local/share ./Cursor-0.48.7-x86_64.AppImage
environment:
- Ubuntu 24.04.2 LTS kernal 6.11.0-21-generic
- wayland
- gdm3
- gnome
I encountered the same issue. Here's a workaround that worked for me (However, I think this should be fixed from the root by developers at the end):
-
Make the AppImage executable and extract its contents:
chmod +x Cursor-0.48.7-x86_64.AppImage ./Cursor-0.48.7-x86_64.AppImage --appimage-extract -
Rename the extracted folder for convenience:
mv squashfs-root/ cursor -
Fix permissions for the Chrome sandbox:
sudo chown root:root cursor/usr/share/cursor/chrome-sandbox sudo chmod 4755 cursor/usr/share/cursor/chrome-sandbox -
Run Cursor:
./cursor/AppRun -
(Optional) Create a symbolic link to launch it from anywhere:
sudo ln -s $(pwd)/cursor/AppRun /usr/local/bin/cursorAfter that, you can run
cursordirectly from the terminal.
This is annoying. Please fix it!
I encountered the same issue. Here's a workaround that worked for me (However, I think this should be fixed from the root by developers at the end):
Make the AppImage executable and extract its contents: chmod +x Cursor-0.48.7-x86_64.AppImage ./Cursor-0.48.7-x86_64.AppImage --appimage-extract
Rename the extracted folder for convenience: mv squashfs-root/ cursor
Fix permissions for the Chrome sandbox: sudo chown root:root cursor/usr/share/cursor/chrome-sandbox sudo chmod 4755 cursor/usr/share/cursor/chrome-sandbox
Run Cursor: ./cursor/AppRun
(Optional) Create a symbolic link to launch it from anywhere: sudo ln -s $(pwd)/cursor/AppRun /usr/local/bin/cursor
After that, you can run
cursordirectly from the terminal.
THANKS mostafa1993!!
same problem
OS: Ubuntu 24.10 oracular
Kernel: x86_64 Linux 6.11.0-21-generic
Shell: zsh 5.9
DE: KDE
WM: KWin