Comment 1 for bug 112309

Revision history for this message
Jeremy Impson (jdimpson) wrote :

I'm seeing the same thing on ubuntu 7.10 with vncserver 3.3.7-14ubuntu1 AND tightvncserver 1.2.9-21 on a fresh install. (I notice they both depend on vnc-common.) vnc4server (with vnc4-common) works fine.

When typing in a terminal, instead of "qerty" i get "c.gvn" (the 'y' doesn't translate to a printable character). Through patient copy & paste, I was able to run xev, which concurs that "qwerty" is "c.gvn" and reveals that 'y' is Shift_R. With Caps lock turned on, "QWERTY" becomes "1C1>1G1V1N" (each letter press generated two characters, the first always '1'). With Shift held down, "QWERTY" becomes "1C>GVN", with the '1' occuring when Shift is depressed (and held down), and again 'Y' not printable. If I press & release shift with every letter press, I get the '1' before or after each letter. And with NumLock on, the number pad keys, including the operators, period, and Enter key, work correctly!

In short, this doesn't smell like a KBD map problem. VNC doesn't seem to support that extension, anyway.

In summary, I see this problem in a gutsy fresh install; vnc4server does NOT have this problem. I'm willing to help diagnose.

Jeremy

Background info:

Note another bug report ("[vnc] can't find fixed font" https://bugs.launchpad.net/bugs/18593) that may or may not be related.

I start vncserver like this:

vncserver -geometry 1000x660 -depth 24 -alwaysshared -deferupdate 100 :1

...which turns into this (output of ps):

Xrealvnc :1 -desktop X -auth /home/jdimpson/.Xauthority -geometry 1000x660 -depth 24 -rfbwait 120000 -rfbauth /home/jdimpson/.vnc/passwd -rfbport 5901 -fp /usr/share/X11/fonts/misc/,/usr/share/X11/fonts/Type1/,/usr/share/X11/fonts/75dpi/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb -alwaysshared -deferupdate 100 :1

Similar for tightvncserver.

Other reports of this problem, but no solutions:

http://www.linuxquestions.org/questions/linux-software-2/vnc-keymap-problem-172010/
https://wwwx.cs.unc.edu/~adball/blog/?p=5
http://ubuntuforums.org/archive/index.php/t-540839.html