You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.
Windows Version
Microsoft Windows [versão 10.0.22621.2283]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
Vs Code 1.82.2
Docker Desktop 4.23.0
Repro Steps
Install:
https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#2-install-wsl
Instal VScode
Instal VScode Wsl Extension
Expected Behavior
Expect to see terminal
Actual Behavior
[2023-09-23 00:01:41.844] WSL daemon log file: c:\Users\jungl\AppData\Roaming\Code\logs\20230922T210140\window1\exthost\ms-vscode-remote.remote-wsl\wsl-daemon-20230923T000141.log
[2023-09-23 00:01:41.848] Probing if server is already installed: if [ -d ~/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf alpine-; fi; uname -m
[2023-09-23 00:01:41.848] Run: C:\WINDOWS\System32\wsl.exe -d docker-desktop-data -e sh -c if [ -d ~/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf alpine-; fi; uname -m
[2023-09-23 00:01:41.574] authorityHierarchy: wsl+docker-desktop-data
[2023-09-23 00:01:41.575] WSL extension activating for a local WSL instance
[2023-09-23 00:01:41.585] Resolving wsl+docker-desktop-data, resolveAttempt: 1
[2023-09-23 00:01:41.586] Run: C:\WINDOWS\System32\wsl.exe --status
[2023-09-23 00:01:41.661] WSL feature installed: true (wsl --status)
[2023-09-23 00:01:41.661] Run: C:\WINDOWS\System32\wsl.exe --list --verbose
[2023-09-23 00:01:41.725] Starting VS Code Server inside WSL (wsl2)
[2023-09-23 00:01:41.725] Extension version: 0.81.4
[2023-09-23 00:01:41.725] Windows build: 22621. Multi distro support: available. WSL path support: enabled
[2023-09-23 00:01:41.725] L10N bundle: undefined
[2023-09-23 00:01:41.726] Scriptless setup: false
[2023-09-23 00:01:41.727] Using shell environment is disabled.
[2023-09-23 00:01:42.209] Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 1, <3>WSL (8) ERROR: CreateProcessEntryCommon:370: getpwuid(0) failed 2
[2023-09-23 00:01:42.209] <3>WSL (8) ERROR: CreateProcessEntryCommon:374: getpwuid(0) failed 2
[2023-09-23 00:01:42.209] <3>WSL (8) ERROR: CreateProcessEntryCommon:577: execvpe sh failed 2
[2023-09-23 00:01:42.209] <3>WSL (8) ERROR: CreateProcessEntryCommon:586: Create process not expected to return
[2023-09-23 00:01:42.209] ,
[2023-09-23 00:01:42.209] Run: C:\WINDOWS\System32\wsl.exe -d docker-desktop-data sh -c 'env && VSCODE_WSL_DEBUG_INFO=true "$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" abd2f3db4bdb28f9e95536dfa84d8479f1eb312d stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=1765193809-1888970695-195237565-3702208150 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --log=trace --telemetry-level=all'
[2023-09-23 00:01:42.212] Running with cwd: undefined, env: {
[2023-09-23 00:01:42.212] "ALLUSERSPROFILE": "C:\ProgramData",
[2023-09-23 00:01:42.212] "APPDATA": "C:\Users\jungl\AppData\Roaming",
[2023-09-23 00:01:42.212] "CHROME_CRASHPAD_PIPE_NAME": "\\.\pipe\crashpad_16928_PJCFRLKXPVVBEPAX",
[2023-09-23 00:01:42.212] "CommonProgramFiles": "C:\Program Files\Common Files",
[2023-09-23 00:01:42.212] "CommonProgramFiles(x86)": "C:\Program Files (x86)\Common Files",
[2023-09-23 00:01:42.212] "CommonProgramW6432": "C:\Program Files\Common Files",
[2023-09-23 00:01:42.212] "COMPUTERNAME": "DESKTOP-BTUS41Q",
[2023-09-23 00:01:42.212] "ComSpec": "C:\WINDOWS\system32\cmd.exe",
[2023-09-23 00:01:42.212] "DriverData": "C:\Windows\System32\Drivers\DriverData",
[2023-09-23 00:01:42.212] "EFC_6656": "1",
[2023-09-23 00:01:42.212] "HOMEDRIVE": "C:",
[2023-09-23 00:01:42.212] "HOMEPATH": "\Users\jungl",
[2023-09-23 00:01:42.212] "LOCALAPPDATA": "C:\Users\jungl\AppData\Local",
[2023-09-23 00:01:42.212] "LOGONSERVER": "\\DESKTOP-BTUS41Q",
[2023-09-23 00:01:42.212] "NUMBER_OF_PROCESSORS": "12",
[2023-09-23 00:01:42.212] "OneDrive": "C:\Users\jungl\OneDrive",
[2023-09-23 00:01:42.212] "OneDriveConsumer": "C:\Users\jungl\OneDrive",
[2023-09-23 00:01:42.212] "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
[2023-09-23 00:01:42.212] "OS": "Windows_NT",
[2023-09-23 00:01:42.212] "Path": "C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Cloudflare\Cloudflare WARP;C:\Program Files\Cloudflare\Cloudflare WARP\;C:\Users\jungl\AppData\Local\Microsoft\WindowsApps;;C:\Users\jungl\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\jungl\AppData\Roaming\npm;C:\Users\jungl\AppData\Local\Programs\oh-my-posh\bin",
[2023-09-23 00:01:42.212] "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
[2023-09-23 00:01:42.212] "POSH_INSTALLER": "winget",
[2023-09-23 00:01:42.212] "POSH_THEMES_PATH": "C:\Users\jungl\AppData\Local\Programs\oh-my-posh\themes",
[2023-09-23 00:01:42.212] "PROCESSOR_ARCHITECTURE": "AMD64",
[2023-09-23 00:01:42.212] "PROCESSOR_IDENTIFIER": "AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD",
[2023-09-23 00:01:42.212] "PROCESSOR_LEVEL": "25",
[2023-09-23 00:01:42.212] "PROCESSOR_REVISION": "2102",
[2023-09-23 00:01:42.212] "ProgramData": "C:\ProgramData",
[2023-09-23 00:01:42.212] "ProgramFiles": "C:\Program Files",
[2023-09-23 00:01:42.212] "ProgramFiles(x86)": "C:\Program Files (x86)",
[2023-09-23 00:01:42.212] "ProgramW6432": "C:\Program Files",
[2023-09-23 00:01:42.212] "PSModulePath": "C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules",
[2023-09-23 00:01:42.212] "PUBLIC": "C:\Users\Public",
[2023-09-23 00:01:42.212] "SESSIONNAME": "Console",
[2023-09-23 00:01:42.212] "SystemDrive": "C:",
[2023-09-23 00:01:42.212] "SystemRoot": "C:\WINDOWS",
[2023-09-23 00:01:42.212] "TEMP": "C:\Users\jungl\AppData\Local\Temp",
[2023-09-23 00:01:42.212] "TMP": "C:\Users\jungl\AppData\Local\Temp",
[2023-09-23 00:01:42.212] "USERDOMAIN": "DESKTOP-BTUS41Q",
[2023-09-23 00:01:42.212] "USERDOMAIN_ROAMINGPROFILE": "DESKTOP-BTUS41Q",
[2023-09-23 00:01:42.212] "USERNAME": "jungl",
[2023-09-23 00:01:42.212] "USERPROFILE": "C:\Users\jungl",
[2023-09-23 00:01:42.212] "windir": "C:\WINDOWS",
[2023-09-23 00:01:42.212] "VSCODE_WSL_EXT_LOCATION": "c:\Users\jungl\.vscode\extensions\ms-vscode-remote.remote-wsl-0.81.4",
[2023-09-23 00:01:42.212] "WSLENV": "VSCODE_WSL_EXT_LOCATION/up"
[2023-09-23 00:01:42.212] }
[2023-09-23 00:01:42.330] <3>WSL (11) ERROR: CreateProcessEntryCommon:370: getpwuid(0) failed 2
[2023-09-23 00:01:42.331] <3>WSL (11) ERROR: CreateProcessEntryCommon:374: getpwuid(0) failed 2
[2023-09-23 00:01:42.331] <3>WSL (11) ERROR: CreateProcessEntryCommon:577: execvpe /bin/sh failed 2
[2023-09-23 00:01:42.331] <3>WSL (11) ERROR: CreateProcessEntryCommon:586: Create process not expected to return
[2023-09-23 00:01:42.331] For help with startup problems, go to https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: