WSL startup requires reinstall of cursor server

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Each time I first start WSL (fully functioning) and Cursor within it (by just starting the app, which picks up the recent session), it fails to “boot”. I need to each time click “Reinstall Server”. Then it succeeds.

Steps to Reproduce

wsl --shutdown
Start cursor by clicking on icon.

Expected Behavior

I do not need to click anything and it just starts the Cursor IDE.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11 (user setup)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Additional Information

$ wsl --version
WSL version: 2.5.10.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6074
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.4946


User home is bind mounted within the wsl distro. Data persists across reboots.

Does this stop you from using Cursor

No - Cursor works, but with this issue

With recent version it does not happen, I will close this thread.

Version: 1.6.23 (user setup)
VSCode Version: 1.99.3
Commit: 9b5f3f4f2368631e3455d37672ca61b6dce85430
Date: 2025-09-15T21:49:07.231Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

1 Like

Ahh, seemingly it is stochastic a bit.
One time it worked, but now it does not since multiple attemtps :frowning:

Hi @Rudolf_Horvath, wondering if this is still an issue?

Could you check your WSL networking mode? If it is “mirrored”, could you change it to the default (nat)? Advanced settings configuration in WSL | Microsoft Learn

When this happens, could you run an htop inside the WSL environment and see if the CPU or memory is at 100%? I’ve encountered this issue when my WSL environment is under high load, and needed to reboot it.

Hi, good point, here are my wsl related configs:
On windows:
```.wslconfig
[wsl2]
memory=48GB
processors=11
swap=0GB
#debugConsole=true

networkingMode=NAT
dnsProxy=false
dnsTunneling=true
```

Within the Distro:
```/etc/wsl.conf

[network]
generateResolvConf = true
generateHosts = false

[automount]
mountFSTab=false
[user]
default = redacted
```

When I tried to reproduce it did not occur, so maybe yes, it happens only when CPU is overloaded (even if I have an i7 - 10850H).
But still, I consider this as a bug, as I did not had similar when working with vscode.

Hi @Rudolf_Horvath, thanks for sharing – these settings look fine. Next time it happens, it’d be helpful if you could share an htop screenshot (with the program names and arguments) so we can take a closer look if the cause is Cursor related.

I am sorry, to send only now, but here is a gif of the occasion, but visibly there is no load in WSL during the failure. I started cursor right after starting the recording.

cursor-boot-failure

Now I see, that cursor could have been running even before clicking on it. This may be useful to share as well, as the error message is the same. I will try to reproduce it with normal first time boot.

I missed, you are maybe interested in the exact processes and arguments, here are they:

$ ps aux  | grep cursor
horvrud    492  0.0  0.2 43638448 136380 ?     Sl   10:19   0:03 /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/node --dns-result-order=ipv4first /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/out/bootstrap-fork --type=extensionHost --transformURIs --useHostProxy=true
horvrud    630  0.0  0.0   2892  1664 ?        Ss   10:20   0:00 sh /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/bin/cursor-server --start-server --host=127.0.0.1 --port=0 --connection-token-file /home/horvrud/.cursor-server/.a9c77ceae65b77ff772d6adfe05f24d8ebcb2790.token --telemetry-level off --use-host-proxy --disable-websocket-compression --without-browser-env-var --accept-server-license-terms
horvrud    642  0.2  0.2 11829996 122020 ?     Sl   10:20   0:18 /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/node /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/out/server-main.js --start-server --host=127.0.0.1 --port=0 --connection-token-file /home/horvrud/.cursor-server/.a9c77ceae65b77ff772d6adfe05f24d8ebcb2790.token --telemetry-level off --use-host-proxy --disable-websocket-compression --without-browser-env-var --accept-server-license-terms
horvrud   1900  0.0  0.1 11733936 62972 ?      Sl   10:21   0:01 /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/node /home/horvrud/.cursor-server/bin/a9c77ceae65b77ff772d6adfe05f24d8ebcb2790/out/bootstrap-fork --type=ptyHost --logsPath /home/horvrud/.cursor-server/data/logs/20251010T102001
horvrud   4406  0.0  0.0   2892  1664 ?        Ss   10:34   0:00 sh /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/bin/cursor-server --start-server --host=127.0.0.1 --port=0 --connection-token-file /home/horvrud/.cursor-server/.df79b2380cd32922cad03529b0dc0c946c311850.token --telemetry-level off --use-host-proxy --disable-websocket-compression --without-browser-env-var --accept-server-license-terms
horvrud   4418  0.2  0.1 11800660 92796 ?      Sl   10:34   0:18 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/out/server-main.js --start-server --host=127.0.0.1 --port=0 --connection-token-file /home/horvrud/.cursor-server/.df79b2380cd32922cad03529b0dc0c946c311850.token --telemetry-level off --use-host-proxy --disable-websocket-compression --without-browser-env-var --accept-server-license-terms
horvrud   4440  0.1  0.1 11818072 65848 ?      Sl   10:34   0:11 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/out/bootstrap-fork --type=ptyHost --logsPath /home/horvrud/.cursor-server/data/logs/20251010T103421
horvrud   4466  0.4  0.3 11925672 169680 ?     Sl   10:34   0:27 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/out/bootstrap-fork --type=fileWatcher
horvrud   4636  0.7  0.8 66060044 411968 ?     Sl   10:34   0:48 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node --dns-result-order=ipv4first /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/out/bootstrap-fork --type=extensionHost --transformURIs --useHostProxy=true
horvrud   5041  0.1  0.3 1394192 171688 ?      Sl   10:34   0:09 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/extensions/streetsidesoftware.code-spell-checker-4.2.6-universal/packages/_server/dist/main.cjs --node-ipc --clientProcessId=4636
horvrud   5764  0.1  0.7 5401628 383016 ?      Sl   10:34   0:09 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node --max-old-space-size=16384 /home/horvrud/.cursor-server/extensions/anysphere.cursorpyright-1.0.9/dist/server.js --cancellationReceive=file:3ceda3afc79863ad6136e104e43d88f909ad7d13e2 --node-ipc --clientProcessId=4636
horvrud   5772  0.1  0.0 1264332 20812 ?       Sl   10:34   0:06 /home/horvrud/.cursor-server/extensions/hashicorp.terraform-2.37.4-linux-x64/bin/terraform-ls serve
horvrud   5785  0.0  0.1 131300 50768 ?        Sl   10:34   0:02 /home/horvrud/.pyenv/versions/3.12.0/bin/python /home/horvrud/.cursor-server/extensions/ms-python.flake8-2025.2.0-universal/bundled/tool/lsp_server.py
horvrud   5786  0.0  0.0 201508 47732 ?        Sl   10:34   0:02 /home/horvrud/.pyenv/versions/3.12.0/bin/python /home/horvrud/.cursor-server/extensions/ms-python.black-formatter-2025.2.0-universal/bundled/tool/lsp_server.py --stdio
horvrud   5939  0.0  0.0   9472  5760 pts/9    Ss+  10:34   0:00 /bin/bash --init-file /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
horvrud  10596  0.0  0.1 996676 56448 ?        Sl   11:15   0:00 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/extensions/markdown-language-features/dist/serverWorkerMain --node-ipc --clientProcessId=4636
horvrud  10602  0.0  0.1 1003124 62680 ?       Sl   11:15   0:00 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/extensions/css-language-features/server/dist/node/cssServerMain --node-ipc --clientProcessId=4636
horvrud  12505  0.0  0.1 991564 50780 ?        Sl   11:24   0:00 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/extensions/ms-azuretools.vscode-containers-2.1.0-universal/dist/dockerfile-language-server-nodejs/lib/server.js --node-ipc --node-ipc --clientProcessId=4636
horvrud  12511  0.0  0.1 991284 50164 ?        Sl   11:24   0:00 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/extensions/ms-azuretools.vscode-containers-2.1.0-universal/dist/compose-language-service/lib/server.js --node-ipc --node-ipc --clientProcessId=4636
horvrud  12519  0.0  0.1 1166184 68856 ?       Sl   11:24   0:00 /home/horvrud/.cursor-server/bin/df79b2380cd32922cad03529b0dc0c946c311850/node /home/horvrud/.cursor-server/extensions/redhat.vscode-yaml-1.19.1-universal/dist/languageserver.js --node-ipc --clientProcessId=4636

I tried to catch the event on recording after ~8-10 trials and failed, but it happened today as well.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.