I have a Ubuntu 20.04 VNC server machine, where I manually start a VNC server with:
sudo -H x11vnc -usepw -auth guess -display :0 -loop
Then, on another Ubuntu 20.04 machine on the same local network, I start a VNC client with:
ssvncviewer IP.ADDRESS.OF.SERVER
And this has worked just fine just about always.
But today, I start a session; it was running fine for about an hour - and then I suddenly notice, whatever I enter via the keyboard in the VNC session is in CAPITAL LETTERS.
I briefly look at my Caps Lock key - and I can see LED shining; must be I've pressed it by accident. No biggie - I press Caps Lock key, and the LED turns off; I check in a terminal on the client - Caps Lock is indeed off ...
And I go back to the VNC session - CAPS LOCK again ?!
I turn off the ssvncviewer
client, start it again - CAPS LOCK again ??!
I turn off both the ssvncviewer
client and the x11vnc
server ; then I start again x11vnc
first on server, and then I start ssvncviewer
on client - and CAPS LOCK again ???!
Well, now I'm about to reboot the server, and I guess that will solve the issue - but would someone know how to "turn off" CAPS LOCK in this case (where the client keyboard does indicate that CAPS LOCK is indeed off, but the server does not seem to recognize that?)