我使用Mac Screen Sharing应用程序连接到Ubuntu 14.04 vncserver a 很有意思的是,有时候当我启动qt时它并没有立即找到规则,有时候会出现错误信息。我无法理解为什么会这样。结果是我不能再输入,只有当弹出规则错误信息时才会输入。
xkbcommon: ERROR: Couldn't find file "rules/0" in include paths
xkbcommon: ERROR: 1 include paths searched:
xkbcommon: ERROR: /usr/share/X11/xkb
xkbcommon: ERROR: 1 include paths could not be added:
xkbcommon: ERROR: /home/angel/.xkb
xkbcommon: ERROR: Couldn't look up rules '0', model 'pc105', layout 'us', variant '(null)', options '^^'
Qt: Failed to compile a keymap
Qt: Failed to create xkb state
libGL error: failed to load driver: swrast
^[[C
angel@localhost:~$ /home/angel/Masternodes/BUCKS/MN3/GorillaBand3.sh
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
libGL error: failed to load driver: swrast
#Here it worked for 5 minutes an then
xkbcommon: ERROR: Couldn't find file "rules/9^C" in include paths
xkbcommon: ERROR: 1 include paths searched:
xkbcommon: ERROR: /usr/share/X11/xkb
xkbcommon: ERROR: 1 include paths could not be added:
xkbcommon: ERROR: /home/angel/.xkb
xkbcommon: ERROR: Couldn't look up rules '9^C', model '^C', layout 'us', variant '(null)', options ''
我尝试过使用setxkbmap但是当我这样做时会返回:
XKB extension not present on :1.0
我到处寻找,但我无法找到合适的解决方案。