Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented Mar 14, 2018

Great gist, worked fine ! Thank you for sharing 🥇

@byque

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented May 23, 2018

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

@zitoss

This comment has been minimized.

Copy link

commented Jul 30, 2018

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

@sbcrumb

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.