# Latest version WSL error

**URL:** <https://forum.cursor.com/t/latest-version-wsl-error/2118>\
**Category:** Bug Reports\
**Created:** [December 18, 2023, 2:40am UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118 "2023-12-18T02:40:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![young](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/young/32/22_2.png) [@young](https://forum.cursor.com/u/young)\
**Post date:** [December 18, 2023, 2:40am UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118/1 "2023-12-18T02:40:06Z")

</div>

I installed the latest version on a new computer and I’m getting an error that WSL can’t connect.

Does anyone have any clear instructions?

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [January 4, 2024, 8:22pm UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118/2 "2024-01-04T20:22:54Z")

</div>

Could you follow the steps here?

> [@Unable to run WSL2 from cursor](https://forum.cursor.com/t/unable-to-run-wsl2-from-cursor/2274/4):
>
> Could you report the output of the following command in Powershell (after replacing YOUR\_WINDOWS\_USERNAME): powershell.exe -ExecutionPolicy Bypass -File "C:\Users\YOUR\_WINDOWS\_USERNAME\AppData\Local\Programs\cursor\resources\app\bin\fixWSLNew.ps1" -pathToAdd "C:\Users\YOUR\_WINDOWS\_USERNAME\AppData\Local\Programs\cursor\resources\app" -scriptPath "C:\Users\YOUR\_WINDOWS\_USERNAME\AppData\Local\Programs\cursor\resources\app\bin\server-env-setup" It seems your server-env-setup file isn’t being crea…

---

<div class="post-metadata">

**Author:** ![Jakob](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jakob/32/93_2.png) [@Jakob](https://forum.cursor.com/u/Jakob)\
**Post date:** [January 11, 2024, 10:09pm UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118/3 "2024-01-11T22:09:41Z")

</div>

The new update [0.22.0](https://changelog.cursor.sh/#0220---dev-containers) improved the stability of WSL. Does your issue still persist?

---

<div class="post-metadata">

**Author:** ![rafaelgildin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/rafaelgildin/32/6632_2.png) [@rafaelgildin](https://forum.cursor.com/u/rafaelgildin)\
**Post date:** [January 2, 2025, 12:52am UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118/4 "2025-01-02T00:52:36Z")

</div>

@truell20  
I’m having this problem recently.

It’s saying “disconnected from WSL Ubuntu” too.  
I tried rebooting but it didn’t work.  
Also, I tried running the command and I’ve got the output below and the error persisted.

Vscode is opening WSL without any problem, so it seems to be a cursor bug.  
Hope you can help me out.  
Thanks.

```auto
    Directory: \\wsl$\Ubuntu\home\rgildin

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/1/2025 9:47 PM .cursor-server
Distro: 'Ubuntu'
Destination Path: \\wsl$\Ubuntu/home/rgildin\.cursor-server
Error processing distro: 'Ubuntu'. Error details: Access to the path '\\wsl$\Ubuntu\home\rgildin\.cursor-server' is denied.
<3>WSL (10) ERROR: CreateProcessParseCommon:763: Failed to translate C:\Users\rafaa
<3>WSL (10) ERROR: CreateProcessParseCommon:809: getpwuid(0) failed 2
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\mingw-w64\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\usr\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Scripts
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate c:\Users\rafaa\AppData\Local\Programs\cursor\resources\app\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA\CUDNN\v9.0\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\Common Files\Oracle\Java\javapath
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\mingw-w64\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\usr\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Library\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\Scripts
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\envs\py37\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\condabin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\system32
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\Wbem
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\OpenSSH
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\dotnet
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\system32
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\OpenSSH
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\Git\cmd
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\Dev-Cpp\MinGW64\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\P
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate c:\Users\rafaa\AppData\Local\Programs\cursor\resources\app\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\dotnet
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.3.0
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\system32
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\Wbem
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Windows\System32\OpenSSH
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\dotnet
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\system32
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\WINDOWS\System32\OpenSSH
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\Git\cmd
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Program Files (x86)\Dev-Cpp\MinGW64\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\Library\mingw-w64\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\Library\usr\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\Library\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\miniconda3\Scripts
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin
<3>WSL (10) ERROR: UtilTranslatePathList:2852: Failed to translate C:\Users\rafaa\AppData\Local\Programs\Microsoft VS Code\bin
Processing fstab with mount -a failed.
Failed to mount C:\, see dmesg for more details.
Failed to mount C:\, see dmesg for more details.

<3>WSL (10) ERROR: CreateProcessCommon:392: getpwuid(0) failed 2
<3>WSL (10) ERROR: CreateProcessCommon:559: execvpe(whoami) failed: No such file or directory
Error processing distro: 'docker-desktop-data'. Error details: You cannot call a method on a null-valued expression.
<3>WSL (13) ERROR: CreateProcessCommon:559: execvpe(bash) failed: No such file or directory
Error processing distro: 'docker-desktop'. Error details: You cannot call a method on a null-valued expression.

```

---

<div class="post-metadata">

**Author:** ![rafaelgildin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/rafaelgildin/32/6632_2.png) [@rafaelgildin](https://forum.cursor.com/u/rafaelgildin)\
**Post date:** [January 2, 2025, 1:03pm UTC](https://forum.cursor.com/t/latest-version-wsl-error/2118/5 "2025-01-02T13:03:38Z")

</div>

Still unavailable to use, moving to vscode for now.

Can anyone help me out here, pls?

Thanks.
