Skip to content

Instantly share code, notes, and snippets.

@abelardojarab
Created November 7, 2017 22:10
Show Gist options
  • Save abelardojarab/a31c4fedce8ee3cbdd2aca53b1db2dff to your computer and use it in GitHub Desktop.
Save abelardojarab/a31c4fedce8ee3cbdd2aca53b1db2dff to your computer and use it in GitHub Desktop.
Fix Visual Studio Code not launching in Ubuntu under VNC
#!/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