Stuck keys with noVNC, but only some keys

Oct 8, 2020
6
0
21
38
Hello all,

I've been fighting a VNC bug for a long time now with no answer in sight. When connecting to a VM through either the built in noVNC, an external noVNC client, or guacamole, some keys get "stuck".

Using shift to type lower and upper case characters works as expected, as do the numbers, but some keys like , < . > seem to get "stuck" until I press the key again. The observed behaviour is the key being repeatedly typed into the VM until I press the key again to stop the input. This results in long strings like <,,,,,,,,,,,,,,,,,,, when typing Shift+, to get the < character. I cannot find any setting that has stopped this behaviour.

The closest workaround has been to disable keyboard repeat in the accessibility options of the VM OS.

Any ideas what I can look at next to try and fix this?
 
This has occured across multiple versions.

UPDATE - Removing keyboard=en-gb from the .conf file of the VM seems to fix the issue. I have no idea why specifying the keyboard does this but it does seem to have solved it.