sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 68 forks source link

Multiple noVNC connections cause stuck keys #1194

Open mkunz7 opened 6 years ago

mkunz7 commented 6 years ago

I've noticed instances on the 2.4 release where if multiple people try to access the vms from different Operating Systems the control, super, and shift keys have a tendency to get stuck when new people join.

For example: User1: OSX FF User2: OSX Chrome User3: OSX Chrome User4: Windows 7 Firefox

Users 1/2/3 will be using a VM, with User1 typing, and then User 4 joins the party. The windows key, or the shift key, or the control key will be stuck down and every key press User1 was typing will become prefixed for example, typing hello will do Win+H Win+E Win+L Win+L Win+L Win+O.

This very frequently happens and affects both windows and linux vms. You can visually see this happen with OnScreenKeyboard open in Windows. The fix we have been doing is to hold down control for a couple seconds, let go, hold down shift for a couple seconds, let go, and hold down super for a couple seconds and let go. This somehow gets all the VNC clients in sync and makes the keyboard usable again. There are a lot of variables involved, so I'm not exactly sure what causes this.

jcrussell commented 6 years ago

Did this work before? We upgraded to noVNC 1.0.0 from (probably) 0.6.1.