Bug description:
When Cursor opens, I get the following error:
Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
Log:
(cursor:33175): Gtk-WARNING **: 08:52:30.298: Theme parsing error: gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
[33175:0320/085230.365206:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[33175:0320/085230.365223:ERROR:select_file_dialog_linux_portal.cc(287)] Failed to read portal version property
[main 2025-03-20T07:52:30.678Z] updateURL https://api2.cursor.sh/updates/api/update/linux-x64/cursor/0.47.8/419f678944a152c09cb41675610a492147839e936123f984e3d3cd3edade1086/stable
[main 2025-03-20T07:52:30.678Z] update#setState idle
[main 2025-03-20T07:52:31.125Z] Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
[main 2025-03-20T07:52:31.699Z] vscode-file: Refused to load resource /tmp/.mount_cursorulVPl0/usr/share/cursor/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_cursorulVPl0/usr/share/cursor/resources/app/extensions/theme-seti/icons/seti.woff)
[main 2025-03-20T07:52:31.937Z] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
at file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:48:25473
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:35:109510
[main 2025-03-20T07:52:34.926Z] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
at file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:48:25473
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:35:109510
[main 2025-03-20T07:52:37.446Z] resolving shell environment failed Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
[main 2025-03-20T07:52:38.537Z] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment: Unexpected exit code from spawned shell (code 9, signal null)
at file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:48:25473
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///tmp/.mount_cursor3XD6Da/usr/share/cursor/resources/app/out/main.js:35:109510
To reproduce the bug
- open Cursor
- pops up the error message
Screenshot:
Operating system description:
LSB Version: n/a
Distributor ID: ManjaroLinux
Description: Manjaro Linux
Release: 25.0.0
Codename: Zetar
Cursor information:
Version: 0.47.8
VSCode Version: 1.96.2
Commit: 82ef0f61c01d079d1b7e5ab04d88499d5af500e0
Date: 2025-03-18T05:39:44.386Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.6.83-1-MANJARO
Does the issue stop you from using Cursor?
Yes, most extensions don’t work.