使用vscode进行远程连接时,终端窗口报错:
1d6cbd9782e6: running
Acquiring lock on /root/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247/vscode-remote-lock.root.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247
Found existing installation at /root/.vscode-server/bin/ccbaa2d27e38e5afa3e5c21c1c7bef4657064247...
Checking /root/.vscode-server/.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247.log and /root/.vscode-server/.ccbaa2d27e38e5afa3e5c21c1c7bef4657064247.pid for a running server
Looking for server with pid: 3046
Found running server...
*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
*
Checking server status on port 41122 with wget
1d6cbd9782e6: start
SSH_AUTH_SOCK====
DISPLAY====
webUiAccessToken====
listeningOn==41122==
osReleaseId==centos==
arch==x86_64==
tmpDir==/run/user/0==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
connectionToken==3407f391-6349-459d-b4ec-a0b7e0f29a44==
1d6cbd9782e6: end
如图所示:
命令终端一直无法使用,这是由于修改了Settings文件导致的。
下图红色框中的项目(Show Login Terminal)被勾选上后,就会出现上图所示的问题;
处理方式:取消该项的勾选;