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

后端 未结 2 446
一个人的身影
一个人的身影 2021-02-04 04:01

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

相关标签:
2条回答
  • 2021-02-04 04:33

    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.

    0 讨论(0)
  • 2021-02-04 04:39

    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

    0 讨论(0)
提交回复
热议问题