Last active
May 20, 2021 04:50
-
-
Save AlexZeitler/ddd6bbf46f5a260b88565b953f5c1d3b to your computer and use it in GitHub Desktop.
Run Atom / Visual Studio Code on Ubuntu via RDP
This file contains hidden or 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
# Error before fixing: | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
# Xlib: extension "XInputExtension" missing on display ":10.0". | |
#Find Atom / VS Code installation folder, e.g. /usr/share/atom or /usr/share/code | |
dpkg -L atom | |
dpgk -L visual-studio-code | |
#Find libxcb1 installation folder, e.g. /usr/lib/x86_64-linux-gnu/libxcb.so.1 | |
dpkg -L libxcb1 | |
#copy libxcb1 to atom installation folder | |
cd /usr/share/atom | |
cd /usr/share/code | |
sudo cp /usr/lib/x86_64-linux-gnu/libxcb.so.1 . | |
#fix libxcb1 (at your own risk) | |
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1 | |
# try to run atom again |
I've been looking for a fix for days and you just solved it! Thank you very much @AlexZeitler. If anyone reads this, this fix works with vnc4server in Google Cloud Platform compute instances.
Thank you, Alex. I had practically given up on using Atom on my Ubuntu VM!
It helps me as well! Thank you very much, Alex.
I was able to get this to work however my atom install was /opt/atom. Ubuntu 16.04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great gist, worked fine ! Thank you for sharing 🥇