question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No keyboard responding for Spyder when started through VNC

See original GitHub issue

I installed the python env by using Anaconda 4.2.0 (64-bit). But cannot use spyder. There is no keyboard responding for spyder.

Any ideas for this problem?

  • Spyder Version: 3.0.1
  • Python Version: 2.7.12
  • Operating system: ubuntu 16.04

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
kyuusakucommented, Nov 21, 2016

Hi, @ccordoba12

The error is

QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Qt: Could not determine keyboard configuration data from X server, will use hard-coded keymap configuration.
Qt: Failed to compile a keymap!
Current XKB configuration data search paths are: 
/home/lab/anaconda2/lib
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .

I export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb to solve this problem. It works.

13reactions
esasoncommented, Feb 2, 2017

hi, I have the same problem. I installed the python env by using Anaconda 4.3.0 (64-bit). There is no keyboard responding for spyder.

this is the error that i get:

Qt: XKEYBOARD extension not present on the X server.
Qt: Could not determine keyboard configuration data from X server, will use hard-coded keymap configuration.
Qt: Failed to compile a keymap!
Current XKB configuration data search paths are: 
/home/eliyahus/Program_Files/python/anaconda/anaconda2/lib
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .

I made this export: export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb but than got another problem - i don’t get the letter that i want to type. getting the same error …

Qt: XKEYBOARD extension not present on the X server.

I am login with a vncserver to ubuntu 14.04. can someone help?

regards, Eli.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Spyder Keyboard Issue in VNC Session - Tips Area
The symptom is that your input through Keyboard is not present (the mouse and copy/paste still works).
Read more >
Keyboard shortcuts stop working in VNC Connect
Sometimes you may find that keyboard shortcuts such as Ctrl+C and Ctrl+V stop working while you are connected to your VNC Server computer....
Read more >
Fix inability to type in Spyder IDE over VNC
If unable to remotely use Spyder IDE keyboard over VNC, try TurboVNC.
Read more >
Keyboard often not working in VNC - Devolutions Forum
Quite often, I'm finding that I'm not able to type in remote VNC sessions using either of the VNC methods in RDM. I...
Read more >
spyder-ide/public - Gitter
No, you can't, but you can reset the console (i.e. remove all your variables) ... I can't use any of the keyboard shortcuts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found