Xlib: extension “XInputExtension” missing on display “:1” Atom Ubuntu

和自甴很熟 提交于 2019-12-03 02:45:07

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

I still get the error in command prompt but I am able to start atom

Thanks to this guy https://www.zhukun.net/archives/8070

This is what I did

sudo cp /usr/lib/x86_64-linux-gnu/libxcb.so.1 /opt/atom/

sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1

and then

cd /opt/atom
./atom

The output of this being

Xlib:  extension "XInputExtension" missing on display ":1".
Xlib:  extension "XInputExtension" missing on display ":1".
Xlib:  extension "XInputExtension" missing on display ":1".
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

But Atom did start as expected!! This is what I wanted.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!