microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.84k stars 28.45k forks source link

Lecagy Linux server used in WSL under Ubuntu 22.04 #214936

Open dbaeumer opened 2 months ago

dbaeumer commented 2 months ago

Version: 1.91.0-insider (user setup) Commit: 51d598183ea632c658c34e0a11da5706192a1b69 Date: 2024-06-12T05:49:43.246Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22635

WSL

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

When installing the server:

Updating VS Code Server to version 51d598183ea632c658c34e0a11da5706192a1b69
Removing previous installation...
Installing VS Code Server for Linux legacy-x64 (51d598183ea632c658c34e0a11da5706192a1b69)
dbaeumer commented 2 months ago

The WSL trace log

[2024-06-12 08:21:35.885] Extension version: 0.88.2
[2024-06-12 08:21:35.885] L10N bundle: undefined
[2024-06-12 08:21:35.914] authorityHierarchy: wsl+Ubuntu
[2024-06-12 08:21:35.914] WSL extension activating for a local WSL instance
[2024-06-12 08:21:35.928] Resolving wsl+Ubuntu, resolveAttempt: 1
[2024-06-12 08:21:35.928] NodeExecServer run: C:\WINDOWS\System32\wsl.exe --status
[2024-06-12 08:21:36.008] WSL feature installed: true (wsl --status)
[2024-06-12 08:21:36.008] NodeExecServer run: C:\WINDOWS\System32\wsl.exe --list --verbose
[2024-06-12 08:21:36.069] 3 distros found
[2024-06-12 08:21:36.070] Starting VS Code Server inside WSL (wsl2)
[2024-06-12 08:21:36.070] Windows build: 22635. Multi distro support: available. WSL path support: enabled
[2024-06-12 08:21:36.070] Scriptless setup: false
[2024-06-12 08:21:36.083] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e sh -c [ -f '/tmp/vscode-distro-env.65gEqf' ] && cat '/tmp/vscode-distro-env.65gEqf' || echo ''
[2024-06-12 08:21:36.203] WSL daemon log file: 
[2024-06-12 08:21:36.208] Probing if server is already installed: if [ -d ~/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; if [ -s ~/.vscode-server-insiders/bin/compatibilty-check ]; then printf 'legacy-'; fi; uname -m;
[2024-06-12 08:21:36.208] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e sh -c if [ -d ~/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; if [ -s ~/.vscode-server-insiders/bin/compatibilty-check ]; then printf 'legacy-'; fi; uname -m;
[2024-06-12 08:21:36.217] Using shell environment from invoking shell: /tmp/vscode-distro-env.65gEqf
[2024-06-12 08:21:36.350] Probing result: install-found legacy-x86_64
[2024-06-12 08:21:36.350] Server install found in WSL
[2024-06-12 08:21:36.351] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 51d598183ea632c658c34e0a11da5706192a1b69 insider code-server-insiders .vscode-server-insiders --host=127.0.0.1 --port=0 --connection-token=4012785760-2216280073-1836567659-3985374582 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2024-06-12 08:21:36.659] Setting up server environment: Looking for /home/dirkb/.vscode-server-insiders/server-env-setup. Not found.
[2024-06-12 08:21:36.659] WSL version: 5.15.153.1-microsoft-standard-WSL2 Ubuntu
[2024-06-12 08:21:36.659] WSL-shell-PID: 9661
[2024-06-12 08:21:36.659] Node executable: /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node
[2024-06-12 08:21:36.659] Starting server: /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/bin/code-server-insiders --host=127.0.0.1 --port=0 --connection-token=4012785760-2216280073-1836567659-3985374582 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all
[2024-06-12 08:21:36.659] *
[2024-06-12 08:21:36.659] * Visual Studio Code Server
[2024-06-12 08:21:36.659] *
[2024-06-12 08:21:36.659] * By using the software, you agree to
[2024-06-12 08:21:36.659] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
[2024-06-12 08:21:36.659] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
[2024-06-12 08:21:36.659] *
[2024-06-12 08:21:36.659] Server bound to 127.0.0.1:38127 (IPv4)
[2024-06-12 08:21:36.659] Extension host agent listening on 38127
[2024-06-12 08:21:36.659] 
[2024-06-12 08:21:36.659] [10:21:36] 
[2024-06-12 08:21:36.659] 
[2024-06-12 08:21:36.659] 
[2024-06-12 08:21:36.659] 
[2024-06-12 08:21:36.659] 
[2024-06-12 08:21:36.659] [10:21:36] Extension host agent started.
[2024-06-12 08:21:36.669] Started local proxy server on 53696.
[2024-06-12 08:21:36.670] WSL resolver response: 127.0.0.1:53696
[2024-06-12 08:21:36.670] To debug connection issues, open a local browser on http://127.0.0.1:53696/version
[2024-06-12 08:21:36.681] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:21:36.803] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:21:37.547] Download in background is enabled
[2024-06-12 08:21:37.614] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:21:37.648] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:21:37.656] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:25:06.883] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2024-06-12 08:25:06.973] NodeExecServer run: C:\WINDOWS\System32\wsl.exe -d Ubuntu -e /home/dirkb/.vscode-server-insiders/bin/51d598183ea632c658c34e0a11da5706192a1b69/node -e const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 38127 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });