Cobra Forum

Linux => Desktop Environments => Topic started by: mahesh on Oct 17, 2023, 05:06 AM

Title: While using VNC shift key will get stuck, requires reboot of server to clear
Post by: mahesh on Oct 17, 2023, 05:06 AM
Ubuntu 22.04.1 LTS, kernel Linux 5.15.0-52-generic, using the included GNOME Remote Desktop service to access the system via VNC protocol.

Every now and then when I'm connected to my Ubuntu machine via VNC I'll be typing quick and hit some key combination or otherwise confuse the system that causes the shift key function to stick. This is not an accidental turn on of caps lock. If I went to type a slash (/) I would instead get a question mark (?). Turning on caps lock inverses the case but unfortunately that doesn't work for other keys. (typing / still produces ?) This seems to be the OS getting confused. Reconnecting doesn't fix it, restarting the remote desktop service then reconnecting doesn't clear it. From what I remember (unable to confirm at the moment) this is even reflected when I get to the local input at the computer and not cleared by removing/reattaching the local keyboard. The only way I've found to clear this is to reboot the host Ubuntu computer. This has happened from multiple clients and been happening since upgrade to 22.04.1 I think.

Connecting via a ssh session still works normally, so I'm able to run commands there without issue to try and find a resolution. Does anyone have any thoughts of other things I should look at to try and get this resolved without needing a reboot? Finding root cause would be great, but in the interim a solution that would just reset the shift status so I could resume using my VNC session normally would be welcome.