Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
2025-12-04 14:51:39.177 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 14:51:39.177 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:51:39.177 [info] Installing cursor-server with options: {“id”:“8d61c78e094f01b38290507e”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:51:45.871 [info] [wsl exec: installServerScript][stderr]: 2025-12-04
2025-12-04 14:51:47.459 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:51:48.158 [info] Successfully connected to Cursor server at http’‘://127.0.0.1:33625/version from Windows
2025-12-04 14:51:48.159 [info] Returning resolved authority for Cursor server at http’‘’://127.0.0.1:33625/version from Windows. Returning token: c03afaca-c501-4f1e-bbbe-9dd468b7974b
2025-12-04 14:52:20.690 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 14:52:20.702 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 14:52:20.815 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 14:52:21.149 [info] Installing cursor-server with options: {“id”:“0f1b8a8ea6c38ae2ec7f7671”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:52:21.420 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED
2025-12-04 14:53:44.070 [info] Resolving wsl remote authority ‘wsl+Ubuntu-24.04’ (attempt #1)
2025-12-04 14:53:44.070 [info] Installing cursor-server with options: {“id”:“4f4508855f865c6f249f5931”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:53:44.070 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:53:49.119 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:53:49.708 [info] Successfully connected to Cursor server at http’‘’://127.0.0.1:43287/version from Windows
2025-12-04 14:53:49.708 [info] Returning resolved authority for Cursor server at http’‘’://127.0.0.1:43287/version from Windows. Returning token: c1937ca3-0709-46ad-a3e9-f8140525f50b
2025-12-04 14:53:58.827 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 14:53:58.827 [info] Installing cursor-server with options: {“id”:“b2c066af049788a867f0ed29”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:53:58.827 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:53:59.139 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:53:59.245 [info] Successfully connected to Cursor server at http’/‘’://127.0.0.1:43287/version from Windows
2025-12-04 14:53:59.245 [info] Returning resolved authority for Cursor server at http’‘’://127.0.0.1:43287/version from Windows. Returning token: c1937ca3-0709-46ad-a3e9-f8140525f50b
2025-12-04 14:55:15.158 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 14:55:15.162 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 14:55:15.272 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 14:55:15.724 [info] Installing cursor-server with options: {“id”:“7097b49997e07d1a395f2699”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:55:16.110 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED
2025-12-04 14:55:34.532 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 14:55:34.532 [info] Installing cursor-server with options: {“id”:“f68defca1c0b3068167b0c98”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:true,“killRunningServers”:false}
2025-12-04 14:55:34.532 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:55:39.944 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:55:46.384 [info] [wsl exec: installServerScript][stderr]: 2025-12-04
2025-12-04 14:55:48.066 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:55:49.703 [info] Successfully connected to Cursor server at http’‘’://127.0.0.1:43683/version from Windows
2025-12-04 14:55:49.703 [info] Returning resolved authority for Cursor server at http’'://127.0.0.1:43683/version from Windows. Returning token: ac00f0e4-622c-45ad-8b6c-6d8697117751
2025-12-04 14:57:05.732 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 14:57:05.746 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 14:57:05.861 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 14:57:06.336 [info] Installing cursor-server with options: {“id”:“dc88e98407eeffa1e2f81cb9”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:57:06.636 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED
2025-12-04 14:57:35.037 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 14:57:35.037 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:57:35.037 [info] Installing cursor-server with options: {“id”:“f1ffd855d4c483e30d7844cf”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:true,“killRunningServers”:false}
2025-12-04 14:57:40.033 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:57:46.491 [info] [wsl exec: installServerScript][stderr]: 2025-12-04 09:27:46 URL] [68649018/68649018] → “/tmp/tmp.MKth4Hw2To” [1]
2025-12-04 14:57:48.065 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:57:48.692 [info] Successfully connected to Cursor server at http’‘’://127.0.0.1:38201/version from Windows
2025-12-04 14:57:48.693 [info] Returning resolved authority for Cursor server at http’‘’://127.0.0.1:38201/version from Windows. Returning token: 892d602b-cdc6-4ed5-8693-14be5a504025
2025-12-04 14:59:06.178 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 14:59:06.189 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 14:59:06.299 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 14:59:06.835 [info] Installing cursor-server with options: {“id”:“addf871ef815db218fe976ba”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 14:59:07.100 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED
2025-12-04 14:59:26.633 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #1)
2025-12-04 14:59:26.633 [info] Installing cursor-server with options: {“id”:“39025c1104ee71d9189e6674”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:true,“killRunningServers”:false}
2025-12-04 14:59:26.633 [error] Failed to patch code.sh launcher: Error: ENOENT: no such file or directory, open ‘c:\Users\sachi\AppData\Local\Programs\cursor\resources\app\bin\code’
2025-12-04 14:59:31.926 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:59:38.403 [info] [wsl exec: installServerScript][stderr]: 2025-12-04 [68649018/68649018] → “/tmp/tmp.tk3PR8JIwP” [1]
2025-12-04 14:59:40.010 [info] [wsl exec: installServerScript][stderr]: your 131072x1 screen size is bogus. expect trouble
2025-12-04 14:59:40.640 [info] Successfully connected to Cursor server at http’‘’://127.0.0.1:39349/version from Windows
2025-12-04 14:59:40.640 [info] Returning resolved authority for Cursor server at http’‘’://127.0.0.1:39349/version from Windows. Returning token: ea5181ba-a8a9-4087-80de-da01e1cc3770
2025-12-04 15:00:57.976 [info] Resolving wsl remote authority ‘wsl+ubuntu-24.04’ (attempt #2)
2025-12-04 15:00:57.987 [warning] Failed to reuse existing connection, attempt 1 of 2 fetch failed
2025-12-04 15:00:58.090 [warning] Failed to reuse existing connection, attempt 2 of 2 fetch failed
2025-12-04 15:00:58.543 [info] Installing cursor-server with options: {“id”:“71758b14aa0e85a15f1ba49e”,“commit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b0”,“line”:“production”,“realCommit”:“2d3ce3499c15efd55b6b8538ea255eb7ba4266b2”,“extensionIds”:,“serverApplicationName”:“cursor-server”,“serverDataFolderName”:“.cursor-server”,“forceReinstall”:false,“killRunningServers”:false}
2025-12-04 15:00:58.798 [error] Error installing Cursor server [wsl exec: installServerScript] Command failed with exit code 4294967295: stdout: Catastrophic failure
Error code: Wsl/Service/E_UNEXPECTED
Steps to Reproduce
connectr to a wsl server try chat and after sometime it gets disconnected
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.47 (user setup)
VSCode Version: 1.105.1
Commit: 2d3ce3499c15efd55b6b8538ea255eb7ba4266b0
Date: 2025-12-04T02:31:50.567Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
Does this stop you from using Cursor
Yes - Cursor is unusable