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

Repeated 'install' terminals open on connection

Open crystalthoughts opened this issue 1 year ago • 0 comments

Client: Win 10 , latest VS Code Server: Alma Linux via SSH

On connection it seems the server tries to install its scripts several times, every time, on my one PC:

Authenticated to <SERVER IP> ([<SERVER IP>]:22).
6a721747fe36: running
Found existing installation at /home/<USER>/.vscode-server...
Starting VS Code CLI... "/home/<USER>.vscode-server/code-05047486b6df5eb8d44b2ecd70ea3bdf775fd937" command-shell --cli-data-dir "/home/<USER>/.vscode-server/cli" --on-port --parent-process-id 547369 &> "/home/<USER>/.vscode-server/.cli.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log" < /dev/null
printenv:
    SHELL=/bin/bash
    HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew   
    PWD=/home/<USER>
    LOGNAME=<USER>
    XDG_SESSION_TYPE=tty
    MANPATH=/home/linuxbrew/.linuxbrew/share/man:
    MOTD_SHOWN=pam
    HOME=/home/<USER>
    LANG=C.UTF-8
    VSCODE_AGENT_FOLDER=/home/<USER>/.vscode-server  
    SSH_CONNECTION=<IP> 3618 <SERVER IP> 22
    INFOPATH=/home/linuxbrew/.linuxbrew/share/info:
    XDG_SESSION_CLASS=user
    SELINUX_ROLE_REQUESTED=
    LESSOPEN=||/usr/bin/lesspipe.sh %s
    USER=<USER>
    HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
    SELINUX_USE_CURRENT_RANGE=
    SHLVL=0
    HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew/Homebrew
    XDG_SESSION_ID=13
    XDG_RUNTIME_DIR=/run/user/1000
    SSH_CLIENT=185.255.128.156 3618 22
    DEBUGINFOD_URLS=https://debuginfod.centos.org/
    which_declare=declare -f
    XDG_DATA_DIRS=/home/<HOME>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share 
    PATH=/home/<USER>/.wasmer/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/<USER>/.local/bin:/home/<USER>/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
    SELINUX_LEVEL_REQUESTED=
    DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
    WASMER_CACHE_DIR=/home/<USER>/.wasmer/cache
    WASMER_DIR=/home/<USER>/.wasmer
    BASH_FUNC_which%%=() {  ( alias;
     eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@        
    }
    _=/usr/bin/printenv
Removing old logfile at /home/<USER>/.vscode-server/.cli.05047486b6df5eb8d44b2ecd70ea3bdf775fd937.log
Spawned remote CLI: 547416
Waiting for server log...
Waiting for server log...
6a721747fe36: start
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:35807==
osReleaseId==almalinux==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==284==
execServerToken==22e91c8c-b821-4b08-9489-18bd3225bc63==
6a721747fe36: end

This happens at least twice, sometimes it goes on repeatedly.

crystalthoughts avatar Feb 09 '24 13:02 crystalthoughts