gpt4 book ai didi

Linux RDP 会话中无法打开VSCode 解决办法

转载 作者:知者 更新时间:2024-03-13 05:45:40 26 4
gpt4 key购买 nike

github issue: VS Code "and still" won't open in a Linux xrdp session

Workaround- Linux RDP 会话中无法打开VSCode 解决办法

This time around I resolved the issue by narrowing the following Hack in two steps:

  1. Copy the system file 'libxcb.so.1.1.0' to the VS Code Insider folder:

copy /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 /usr/share/code-insider

  1. Last execute the sed stream editor command to alter value:

sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/share/code-insider/libxcb.so.1.1.0
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/share/code/libxcb.so.1.1.0

After these step were completed, I was able to open VS Code Insider on a xrdp session.

must important I didn't have to alter the system file "libxcb.so.1.1.0" as in previous posts was done in the "/usr/lib/x86_64-linux-gnu/" location.

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com