Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler
Last active May 20, 2021 04:50
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexZeitler/ddd6bbf46f5a260b88565b953f5c1d3b to your computer and use it in GitHub Desktop.
Save AlexZeitler/ddd6bbf46f5a260b88565b953f5c1d3b to your computer and use it in GitHub Desktop.
Run Atom / Visual Studio Code on Ubuntu via RDP
# 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
@CedricL46
Copy link

Great gist, worked fine ! Thank you for sharing 🥇

@byque
Copy link

byque commented Mar 26, 2018

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.

@paulo-sargaco-dxc
Copy link

Thank you, Alex. I had practically given up on using Atom on my Ubuntu VM!

@zitoss
Copy link

zitoss commented Jul 30, 2018

It helps me as well! Thank you very much, Alex.

@sbcrumb
Copy link

sbcrumb commented Aug 14, 2018

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