Xlib: extension "XInputExtension" missing on display ":1" Atom Ubuntu

Nikhil Das Nomula picture Nikhil Das Nomula · Jan 11, 2018 · Viewed 12.6k times · Source

I have an Amazon EC2 instance that runs Ubuntu 16.04 server. I installed atom and for some reason I am not able to start Atom. Everytime I start atom with the command line I see the following

Xlib:  extension "XInputExtension" missing on display ":1".

I used vnc to setup ubuntu desktop and I am using vncviewer to access the desktop and start atom.

I am not sure what I am doing wrong. My vncconfig file looks like this

#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

gnome-session &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

Answer

Kristijan Lukačin picture Kristijan Lukačin · May 29, 2018

This is good in general if you use headless VM;

cd /usr/lib/x86_64-linux-gnu/
cp libxcb.so.1 libxcb.so.1.bak
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1

It will fix all apps with same error