Can't connect to WSL anymore

Hey, thanks for the report. There are two errors in your logs. Let me break them down.

The main one is Failed to patch code.sh launcher: ENOENT. The file resources\app\bin\code is missing from your Cursor install. This is likely causing the second error too, failing to connect to the server from Windows.

Try these steps in order:

  • Check if the file actually exists. Go to C:\Users\ross\AppData\Local\Programs\cursor\resources\app\bin\ and see what’s in there.
  • Inside WSL, remove the Cursor server cache: rm -rf ~/.cursor-server
  • In PowerShell, run wsl --shutdown, then try reconnecting from Cursor.
  • If the bin\code file is indeed missing, try a clean reinstall of Cursor. Uninstall, delete the C:\Users\ross\AppData\Local\Programs\cursor folder, then reinstall.

A couple of questions:

  • Was this working before the 2.6.12 update, or is this a fresh install?
  • Can you list what files are in the resources\app\bin\ folder?

This will help figure out whether 2.6.12 shipped without that file or if the install got corrupted.