Created
November 7, 2017 22:10
-
-
Save abelardojarab/a31c4fedce8ee3cbdd2aca53b1db2dff to your computer and use it in GitHub Desktop.
Fix Visual Studio Code not launching in Ubuntu under VNC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# make a copy of the relevant library | |
mkdir ~/lib | |
cp /usr/lib/x86_64-linux-gnu/libxcb.so.1 ~/lib | |
sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' ~/lib/libxcb.so.1 | |
# set the dynamic loader path to put your library first before executing VS Code | |
LD_LIBRARY_PATH=$HOME/lib code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment