当前位置:   article > 正文

Vscode连接remote ssh 报错,The VS Code Server failed to start,vscode1.86.0更新后出现_server did not start successfully. full server log

server did not start successfully. full server log at warning: missing glibc

昨天使用vscode连接服务器还好好的,今天突然连不上了,查遍全网没发现一个靠谱的方案

查看日志发现一堆Waiting for server log...

还显示

  1. Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
  2. Warning: Missing GLIBC >= 2.28! from /lib/x86_64-linux-gnu/libc-2.24.so
  3. Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional$

发现是新版本Vscode对平台上旧版的GLIBCXXGLIBC不支持了,遇到问题的似乎不是一个人:

https://github.com/microsoft/vscode/issues/203967

打开Vscode,Ctrl+Shift+P,输入:Help: About,查看当前Vscode版本信息,可以看到当前版本已是最新的,因为Vscode是默认自动更新的,所以如果没有服务器root权限只能回退Vscode版本。

解决办法

1. 安装旧版本,例如85:https://code.visualstudio.com/updates/v1_85,注意在这里下载,不要点右上角新版本的

2. 安装后成功连接!

3. 关闭Vscode自动更新

Vscode默认是自动更新的,所以需要手动关闭防止再次出bug:

VScode 关闭自动更新方式_vscode git update.mode-CSDN博客

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/73751
推荐阅读
相关标签
  

闽ICP备14008679号