Frequently Asked Question

Vscode Server Errors
Last Updated 9 days ago

VSCode Server on Debian Linux (And others)

If you're vscode suddenly tells you that your host doesn't meet the requirements, its probably correct, but fixing isn't that hard.

SSH to the remote server and find the ~/.vscode-server-insiders (or ~/.vscode-server) In that folder you should find a ELF binary, e.g.

Make sure its a binary file with

# file code-insiders-acb986b977f3f8827651cbc5efb689f9bbede1ad
code-insiders-acb986b977f3f8827651cbc5efb689f9bbede1ad: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), static-pie linked, BuildID[sha1]=9fafeb9eddfc6ee4e1d2b9ba607c757e0189d023, stripped

Assuming it is executable, then run it with

./file code-insiders-acb986b977f3f8827651cbc5efb689f9bbede1ad

And it will tell you what's missing, e.g.

[2025-03-11 13:47:04] error This machine does not meet Visual Studio Code Server's prerequisites, expected either...
  - find /lib/ld-musl-x86_64.so.1, which is required to run the Visual Studio Code Server in musl environments

We can see that we're missing musl, so let's go ahead and install it.

apt install musl

After installing the missing packages/libraries, go run the ELF binary again and you should now see something like:

No installation of Visual Studio Code insider was found.
Install it from your system's package manager or https://code.visualstudio.com/insiders, restart your shell, and try again.

If you already installed Visual Studio Code and we didn't detect it, run `code version use insider --install-dir /path/to/installation`

Go back to your vscode and re-try setting up a remote session, which should now work just fine.

This website relies on temporary cookies to function, but no personal data is ever stored in the cookies.
OK
Powered by GEN UK CLEAN GREEN ENERGY

Loading ...