microsoft / microsoft/vscode-remote-release

Problems starting a VS Code server in OpenSUSE Leap 16.0

Open
#11,433 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ssh
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hi all, I have the most recent VS Code release in both OpenSUSE (remote host) and Fedora 42 (local host) and after update of the server to OpenSUSE 16.0 I could no longer start the server there. I have tried wiping the VS code server path there, reinstalling this extension, and have debugged various SSH settings needed to connect (and could connect just fine in the past) so something must have changed. I tested connecting to a different remote host and everything worked, just not the OpenSUSE one. This is the output I get when I try to connect:

[22:09:23.512] Log Level: 2
[22:09:23.531] VS Code version: 1.108.0
[22:09:23.531] Remote-SSH version: remote-ssh@0.122.0
[22:09:23.532] linux x64
[22:09:23.541] SSH Resolver called for "ssh-remote+prime", attempt 1
[22:09:23.545] remote.SSH.useLocalServer = true
[22:09:23.546] remote.SSH.useExecServer = true
[22:09:23.546] remote.SSH.bindHost = {}
[22:09:23.547] remote.SSH.path = 
[22:09:23.547] remote.SSH.configFile = 
[22:09:23.547] remote.SSH.useFlock = true
[22:09:23.547] remote.SSH.lockfilesInTmp = false
[22:09:23.547] remote.SSH.localServerDownload = auto
[22:09:23.548] remote.SSH.remoteServerListenOnSocket = false
[22:09:23.548] remote.SSH.defaultExtensions = []
[22:09:23.548] remote.SSH.defaultExtensionsIfInstalledLocally = []
[22:09:23.548] remote.SSH.loglevel = 2
[22:09:23.549] remote.SSH.enableDynamicForwarding = true
[22:09:23.549] remote.SSH.enableRemoteCommand = false
[22:09:23.549] remote.SSH.serverPickPortsFromRange = {}
[22:09:23.549] remote.SSH.serverInstallPath = {}
[22:09:23.549] remote.SSH.permitPtyAllocation = false
[22:09:23.550] remote.SSH.preferredLocalPortRange = undefined
[22:09:23.550] remote.SSH.useCurlAndWgetConfigurationFiles = false
[22:09:23.550] remote.SSH.experimental.chat = true
[22:09:23.550] remote.SSH.experimental.enhancedSessionLogs = true
[22:09:23.551] remote.SSH.httpProxy = {"*":""}
[22:09:23.552] remote.SSH.httpsProxy = {"*":""}
[22:09:23.561] SSH Resolver called for host: prime
[22:09:23.561] Setting up SSH remote "prime"
[22:09:23.566] Acquiring local install lock: /tmp/vscode-remote-ssh-f73e1580-install.lock
[22:09:23.567] Looking for existing server data file at /home/pevogam/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-f73e1580-94e8ae2b28cb5cc932b86e1070569c4463565c37-0.122.0-es/data.json
[22:09:23.568] No existing data file
[22:09:23.568] Using commit id "94e8ae2b28cb5cc932b86e1070569c4463565c37" and quality "stable" for server
[22:09:23.568] Extensions to install: 
[22:09:23.572] Install and start server if needed
[22:09:23.576] PATH: /home/pevogam/.elan/bin:/home/pevogam/.local/bin:/home/pevogam/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/home/pevogam/.cargo/bin:/home/pevogam/.elan/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/sbin:/usr/libexec/sdcc:/usr/sbin:/usr/libexec/sdcc
[22:09:23.577] Checking ssh with "ssh -V"
[22:09:23.585] > OpenSSH_9.9p1, OpenSSL 3.2.6 30 Sep 2025

[22:09:23.589] askpass server listening on /run/user/1000/vscode-ssh-askpass-0d0644f623b227ff6568717d7b6c769bad20f64e.sock
[22:09:23.590] Spawning local server with {"serverId":1,"ipcHandlePath":"/run/user/1000/vscode-ssh-askpass-85670927bd10380809b5814ab31709296b273264.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","40445","-o","ConnectTimeout=15","prime"],"serverDataFolderName":".vscode-server","dataFilePath":"/home/pevogam/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-f73e1580-94e8ae2b28cb5cc932b86e1070569c4463565c37-0.122.0-es/data.json"}
[22:09:23.590] Local server env: {"SSH_AUTH_SOCK":"/run/user/1000/gnupg/S.gpg-agent.ssh","SHELL":"/bin/bash","DISPLAY":":0","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/usr/share/code/code","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"","VSCODE_SSH_ASKPASS_MAIN":"/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/run/user/1000/vscode-ssh-askpass-0d0644f623b227ff6568717d7b6c769bad20f64e.sock"}
[22:09:23.593] Spawned 617541
[22:09:23.594] Using connect timeout of 17 seconds
[22:09:23.681] > local-server-1> Running ssh connection command: ssh -v -T -D 40445 -o ConnectTimeout=15 prime
[22:09:23.685] > local-server-1> Spawned ssh, pid=617549
[22:09:23.688] stderr> OpenSSH_9.9p1, OpenSSL 3.2.6 30 Sep 2025
[22:09:23.776] stderr> debug1: Server host key: ssh-ed25519 SHA256:be1ieFlZsST8cLha4DzCm37dOGlxLkKfxAqhPK18o+Q
[22:09:23.903] stderr> Authenticated to 192.168.0.31 ([192.168.0.31]:22) using "publickey".
[22:09:24.020] > Have a lot of fun...
[22:09:24.097] > ready: 26319d5adafb
[22:09:24.102] > Linux 6.12.0-160000.8-default #1 SMP PREEMPT_DYNAMIC Thu Dec 11 09:18:13 UTC 2025 (5d31a95)
[22:09:24.102] Platform: linux
[22:09:24.103] > /bin/bash
[22:09:24.103] Parent Shell: bash
[22:09:24.103] Parent Shell pid: 617541
[22:09:24.104] Waiting for subshell to start
[22:09:24.107] > 1919295
[22:09:24.107] stdout -> '1919295'
[22:09:24.108] sub-process detected
[22:09:24.117] > 26319d5adafb: running
> Script executing under PID: 1919295
[22:09:24.130] > Found existing installation at /home/pevogam/.vscode-server...
> Starting VS Code CLI...
[22:09:24.132] > Removing old logfile at /home/pevogam/.vscode-server/.cli.94e8ae2b28cb5cc932b86e1070569c4463565c37.log
[22:09:24.139] > Spawned remote CLI: 1919313
[22:09:24.143] > Waiting for server log...
[22:09:24.177] > Waiting for server log...
[22:09:24.214] > Waiting for server log...
[22:09:24.248] > Waiting for server log...
[22:09:24.283] > Waiting for server log...
[22:09:24.318] > Waiting for server log...
[22:09:24.352] > Waiting for server log...
[22:09:24.389] > Waiting for server log...
[22:09:24.424] > Waiting for server log...
[22:09:24.459] > Waiting for server log...
[22:09:24.493] > Waiting for server log...
[22:09:24.527] > Waiting for server log...
[22:09:24.562] > Waiting for server log...
[22:09:24.599] > Waiting for server log...
[22:09:24.634] > Waiting for server log...
[22:09:24.671] > 26319d5adafb: start
[22:09:24.671] > listeningOn====
> osReleaseId==opensuse-leap==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==538==
> execServerToken==11aaa111-a11a-1111-111a-a111a111aa11==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
> DISPLAY====
> 26319d5adafb: end
[22:09:24.671] Received install output: listeningOn====
osReleaseId==opensuse-leap==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==538==
execServerToken==11aaa111-a11a-1111-111a-a111a111aa11==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====
DISPLAY====

[22:09:24.673] Failed to parse remote port from server output
[22:09:24.673] Terminating local server
[22:09:24.674] Resolver error: Error
    at y.Create (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:745163)
    at t.handleInstallOutput (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:743244)
    at e (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:799508)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async /home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:824766
    at async t.withShowDetailsEvent (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:828461)
    at async /home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:796220
    at async P (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:794275)
    at async t.resolveWithLocalServer (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:795772)
    at async A (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:821567)
    at async t.resolve (/home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:825858)
    at async /home/pevogam/.vscode/extensions/ms-vscode-remote.remote-ssh-0.122.0/out/extension.js:2:1117225
[22:09:24.680] ------




[22:09:24.680] No hints found in the recent session.
[22:09:24.682] Local server exit: 15

Has anyone else had such a problem recently?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the captured Remote-SSH log, especially the server output ending with an empty listeningOn value and the resolver error in the Remote-SSH extension. Compare the failing OpenSUSE host with the working remote host and inspect the existing .vscode-server startup path. Done means the server starts and Remote-SSH successfully parses its listening port.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, vscode
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.