As title, hit this issue yesterday. There is a workaround by following steps:
linkirin@trusty:~$ sudo -i root@trusty:~# cd /usr/lib/x86_64-linux-gnu/ root@trusty:/usr/lib/x86_64-linux-gnu# cp libxcb.so.1.1.0 libxcb.so.1.1.0code root@trusty:/usr/lib/x86_64-linux-gnu# sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1.1.0code root@trusty:/usr/lib/x86_64-linux-gnu# ll libxcb.so* lrwxrwxrwx 1 root root 15 Jan 15 2014 libxcb.so.1 -> libxcb.so.1.1.0 -rw-r--r-- 1 root root 125392 Jan 15 2014 libxcb.so.1.1.0 -rw-r--r-- 1 root root 125392 Oct 28 15:27 libxcb.so.1.1.0code root@trusty:/usr/lib/x86_64-linux-gnu# rm libxcb.so.1 && ln -s libxcb.so.1.1.0code libxcb.so.1 root@trusty:/usr/lib/x86_64-linux-gnu# ll libxcb.so* lrwxrwxrwx 1 root root 19 Oct 28 15:29 libxcb.so.1 -> libxcb.so.1.1.0code -rw-r--r-- 1 root root 125392 Jan 15 2014 libxcb.so.1.1.0 -rw-r--r-- 1 root root 125392 Oct 28 15:27 libxcb.so.1.1.0code
Reference:
VS Code not working on Ubuntu when connected using XRDP. · Issue #3451 · Microsoft/vscode · GitHub – https://github.com/Microsoft/vscode/issues/3451