vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

VS Code Server for WSL closed unexpectedly.

Open jbisgrove opened this issue 1 year ago • 2 comments

Issue Type: Bug

when using "code ." from ubuntu-20.04 WSL2 session, or when using "new WSL from Distro" I get error "VS Code Server for WSL closed unexpectedly." . I've checked that path in Ubuntu includes correct vscode path. this problem began with install of Remote WSL and attemped first usage.

VS Code version: Code 1.69.1 (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:21:24.514Z) OS version: Windows_NT x64 10.0.19043 Restricted Mode: Yes Connection to 'WSL: Ubuntu-20.04' could not be established VS Code Server for WSL closed unexpectedly. Check WSL terminal for more details.

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz (12 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 63.84GB (48.24GB free)
Process Argv --crash-reporter-id 919054d5-ea55-4a4c-be26-8b8e5ccf884c
Screen Reader no
VM 0%

Connection to 'WSL: Ubuntu-20.04' could not be established VS Code Server for WSL closed unexpectedly. Check WSL terminal for more details.

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30520717
vsclangdc:30486549

jbisgrove avatar Jul 15 '22 01:07 jbisgrove

Can you provide the WSL log (Remote-WSL: Show Log...) ?

aeschli avatar Jul 15 '22 10:07 aeschli

the issue could be solved by using following commands in powershell,

wsl --shutdown wsl

then upgrade your wsl by getting the upgradables.. then use sudo apt upgrade sudo apt update

r0ushann avatar Jul 19 '22 16:07 r0ushann

Hey @aeschli, this issue might need further attention.

@jbisgrove, you can help us out by closing this issue if the problem no longer exists, or adding more information.

github-actions[bot] avatar Dec 02 '22 12:12 github-actions[bot]

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

github-actions[bot] avatar Dec 10 '22 12:12 github-actions[bot]