I run Cursor in WSL. Based on https://cursor.com/docs/agent/terminal “Run in Sandbox” should be available in the “Auto-Run Mode” drop-down. It is not there. I have confirmed I meet these requirements:
* Kernel 6.2 or later with Landlock v3 support (CONFIG_SECURITY_LANDLOCK=y)
* Unprivileged user namespaces enabled (most modern distributions have this by default)
I am also running Cursor version 2.3.18
Am I correct that sandbox should be available for me? If yes, is there a known issue?
Sadly, that doesn’t solve it. I didn’t know that, but unfortunately, the “Legacy Terminal Tool” had already been turned off. I confirmed “Run in Sandbox” is still not available.
@dmschlot Sorry for the issues! Can you open the Output pane (on the same section as terminal) and look at the “Extension Host” and “Extension Host (remote)” logs to see if there is anything Interesting in there?
@ani-anysphere
I do not see anything containing “Host”. I just restarted Cursor, checke settings again, and this is all that was in “Output”. As shown below there is one error: Failed to patch code.sh launcher
2026-01-05 09:36:30.297 [info] Resolving wsl remote authority 'wsl+ubuntu' (attempt #1)
2026-01-05 09:36:30.297 [info] Installing cursor-server with options: {"id":"795ca53be97e55773dd744e8","commit":"68e0a0385b87408d050869ea543e3778ad53f780","line":"production","realCommit":"68e0a0385b87408d050869ea543e3778ad53f78a","extensionIds":[],"serverApplicationName":"cursor-server","serverDataFolderName":".cursor-server","forceReinstall":false,"killRunningServers":false}
2026-01-05 09:36:30.297 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open 'c:\Users\david\AppData\Local\Programs\cursor\resources\app\bin\code'
2026-01-05 09:37:01.794 [info] [wsl exec: installServerScript][stderr]: 2026-01-05 09:37:01 URL:https://downloads.cursor.com/production/68e0a0385b87408d050869ea543e3778ad53f78a/linux/x64/cursor-reh-linux-x64.tar.gz [76616155/76616155] -> "/tmp/tmp.Cr3QXKIcFP" [1]
2026-01-05 09:37:05.336 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2026-01-05 09:37:05.468 [info] Successfully connected to Cursor server at http://127.0.0.1:33505/version from Windows
2026-01-05 09:37:05.468 [info] Returning resolved authority for Cursor server at http://127.0.0.1:33505/version from Windows. Returning token: 72bbe5e2-6a67-45e1-9855-d5b442a3e2fa
@ani-anysphere Sorry, in a rush I misread your message. I do see some interesting info in “Extension Host (Remote)”. See below. There are a number of “undefined” references