Good evening,
Tried extension with both code and vscodium and receive following error: No view is registered with id: remoteHosts
I wanted to use it with tailscale, here is my settings.json:
{
"remote.OSS.hosts": [
{
"type": "manual",
"name": "tailscale",
"host": "100.200.300.400",
"port": 55155,
"folders": [
{
"name": "Development",
"path": "/home/user/Development",
},
],
}
],
}
P.S.
Updated your scripts:
This one to download latest vscodium server:
#!/usr/bin/env bash
set -uexo pipefail
VSCODIUM_DIR="${HOME}/.vscodium-server"
RELEASE_URL="$(curl -Ls -o /dev/null -w '%{url_effective}' 'https://github.com/VSCodium/vscodium/releases/latest')"
RELEASE="${RELEASE_URL##*/}"
PACKAGE="vscodium-reh-linux-x64-${RELEASE}.tar.gz"
DOWNLOAD_URL="https://github.com/VSCodium/vscodium/releases/download/${RELEASE}/${PACKAGE}"
mkdir -p "${VSCODIUM_DIR}"
pushd "${VSCODIUM_DIR}"
curl -Ls -o "${VSCODIUM_DIR}/${PACKAGE}" "${DOWNLOAD_URL}"
COMMIT_ID=$(tar -xf "${VSCODIUM_DIR}/${PACKAGE}" ./product.json -O | jq ".commit" -r)
BIN_DIR="${VSCODIUM_DIR}/${COMMIT_ID}"
mkdir -p "${BIN_DIR}"
pushd "${BIN_DIR}"
tar -xf "${VSCODIUM_DIR}/${PACKAGE}"
popd
ln -sf "${BIN_DIR}" "${VSCODIUM_DIR}/current"
rm "${VSCODIUM_DIR}/${PACKAGE}"
popd
and this one to start it:
export CONNECTION_TOKEN="FooBar"
"${HOME}/.vscodium-server/current/bin/codium-server" \
--host="$(tailscale status | grep ' ak ' | awk '{print $1}')" \
--port=55155 \
--telemetry-level off \
--connection-token "${CONNECTION_TOKEN}"
Good evening,
Tried extension with both code and vscodium and receive following error:
No view is registered with id: remoteHostsI wanted to use it with tailscale, here is my settings.json:
{ "remote.OSS.hosts": [ { "type": "manual", "name": "tailscale", "host": "100.200.300.400", "port": 55155, "folders": [ { "name": "Development", "path": "/home/user/Development", }, ], } ], }P.S.
Updated your scripts:
This one to download latest vscodium server:
and this one to start it: