Xlib:扩展“XInputExtension"缺少显示“:1"原子 Ubuntu [英] Xlib: extension "XInputExtension" missing on display ":1" Atom Ubuntu
本文介绍了Xlib:扩展“XInputExtension"缺少显示“:1"原子 Ubuntu的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个运行 Ubuntu 16.04 服务器的 Amazon EC2 实例.我安装了 atom,但由于某种原因我无法启动 Atom.每次我用命令行启动 atom 时,我都会看到以下内容
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".
我使用 vnc 来设置 ubuntu 桌面,我使用 vncviewer 访问桌面并启动 atom.
I used vnc to setup ubuntu desktop and I am using vncviewer to access the desktop and start atom.
我不确定我做错了什么.我的 vncconfig 文件看起来像这样
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 &
推荐答案
如果你使用 headless VM,这通常是好的;
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
这篇关于Xlib:扩展“XInputExtension"缺少显示“:1"原子 Ubuntu的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文