TIP: Getting VS Code to work on Linux Data Science VM RRS feed

  • General discussion

  • Visual Studio Code is a great cross platform editor supporting different languages and plugins. Unfortunately it does not work on X2Go sessions. Thanks to a tip from Atom's Github forum there is a (hacky) workaround that seems to work for VS Code too as it is based on some similar components. 

    Run the following commands after sudo-ing to root (sudo -s): 

    cd /usr/share/code
    cp /usr/lib64/libxcb.so.1 .
    sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1

    If you are using Atom dont forget to repeat the same in the Atom's root directory (usually /usr/share/atom or /usr/local/atom). 

    This is quite a hack. Use this while it works!

    Wednesday, November 30, 2016 11:43 PM