TightVNC problem with only one key (letter)
Mandriva 2008.1, while being an excellent release, introduced a new problem I've never seen before. The server PC has Mandriva 2008.1, client PC's have various different Linux distros and/or OS X.
VNC works otherwise perfectly, as expected, but one single key, the "m" letter has to be repeated everytime 2 times, so that VNC will actually accept the input. Example: Let's try some foolish text that has M letters: Code:
Mike's mother has a cat saying meow. Code:
MMike's mmother has a cat saying mmeow. I have the Finnish keyboard layout at both ends. Environment variables seem to have no encodings set. Isn't this a totally weird problem? |
If you have a file, ~/.inputrc, try renaming it to see if the problem goes away. You may have to start a new Xterm or logout/login.
If that's not it, maybe try this command to see if /etc/inputrc has been modified: rpm -V setup Those are the only two files I know of that might possibly do something like that. |
Thanks for the tip. I restored /etc/inputrc (no .inputrc in my home folders) from the original packages. However, the MD5 sum was the same with my existing file, so it seems it hasn't been modified in any way.
Nevertheless, I still copied the file from the original package over my /etc/inputrc at both the client and the server PC and rebooted both. No luck, I still have to hit the "m" key twice to be able to enter it. :( |
Any success on this issue? I am having the same problem. I have to hit the m key twice. Also, key repeating does not work for any key, except the 'm' key.
Its very odd. |
Another thing you could try to scavenge for ideas is:
grep keycodes /etc/sysctl.conf I got that idea by looking at /bin/setupcon, which is called from /etc/init.d/keyboard-setup. Also, you never said if you are using a laptop or a desktop system. The script /etc/init.d/hotkey-setup seems to behave differently depending on what computer you have and if it's a laptop. |
I am connecting from a desktop when at home and from a laptop from work. Both behave the same.
I did have to do some funky stuff when I first installed TightVNC to even get it to work in the first place. Wish I could remember what that was. Anyway, I can't understand having a problem with just the 'm' key unless VNC is accepting as if its 'shift' or some other key like a combo key or something. But then I would expect it not to 'repeat' properly. But its the only repeating key. |
Quote:
grep returns no matches for string "keycodes" from /etc/sysctl.conf. I have no "hotkey-setup" script in my /etc/init.d. The problem still remains and I have absolutely no ideas how to fix it. Thanks for the help anyway, appreciated. |
is your repeat broken on all but the m key like mine?
can you show your modules so we can compare [carl@erasmus ~]$ rpm -qa --last | head -75 tightvnc-server-1.3.9-12mdv2008.1 Mon 07 Jul 2008 02:16:55 PM EDT x11-server-xvnc-1.4.0.90-13.2mdv2008.1 Mon 07 Jul 2008 02:16:54 PM EDT kdegraphics-common-3.5.9-8.1mdv2008.1 Mon 07 Jul 2008 01:36:23 PM EDT libxine1-1.1.11.1-4.1mdv2008.1 Mon 07 Jul 2008 01:36:15 PM EDT kdebase-kmenuedit-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:36:14 PM EDT kdebase-kdm-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:36:13 PM EDT beagle-0.3.3-6.1mdv2008.1 Mon 07 Jul 2008 01:36:12 PM EDT libkdebase4-kmenuedit-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:36:11 PM EDT kdebase-kate-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:28 PM EDT kdebase-nsplugins-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:27 PM EDT kdebase-konsole-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:23 PM EDT harddrake-10.29.7-1.1mdv2008.1 Mon 07 Jul 2008 01:35:22 PM EDT harddrake-ui-10.29.7-1.1mdv2008.1 Mon 07 Jul 2008 01:35:20 PM EDT drakxtools-10.29.7-1.1mdv2008.1 Mon 07 Jul 2008 01:35:19 PM EDT drakxtools-curses-10.29.7-1.1mdv2008.1 Mon 07 Jul 2008 01:35:17 PM EDT drakxtools-backend-10.29.7-1.1mdv2008.1 Mon 07 Jul 2008 01:35:16 PM EDT libkdebase4-konsole-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:15 PM EDT kdebase-progs-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:11 PM EDT kdebase-ksysguard-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:09 PM EDT kdebase-common-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:35:00 PM EDT libkdebase4-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:34:49 PM EDT libkdebase4-kate-3.5.9-37.2mdv2008.1 Mon 07 Jul 2008 01:34:47 PM EDT timezone-2008c-1.5mdv2008.1 Mon 07 Jul 2008 01:27:02 PM EDT initscripts-8.63-9.1mdv2008.1 Mon 07 Jul 2008 01:26:56 PM EDT timezone-java-2008c-1.5mdv2008.1 Mon 07 Jul 2008 01:26:54 PM EDT libexiv2_2-0.16-3.1mdv2008.1 Mon 07 Jul 2008 01:24:46 PM EDT |
Quote:
Here's the output: Code:
$ rpm -qa --last | head -75 |
Quote:
I have the same issue I'm connecting from Windows to Mandriva (XP->2008.1) Tomorrow I try all suggestions from this topic, and I wiil write back the results. majkelm |
Quote:
any ideas ? |
weird, here too
This bug is bugging e too.
s/e/me/ ;) System: tightvnc-server on Mandriva 2008.1, x86-64, via java viewer or regular vncviewer, from other Linux systems or windows. I had a look with xev (showing which events get through), here's what I got for typing the following keys: " m m k k " (k just for comparison purposes, but space does the same) Code:
KeyPress event, serial 29, synthetic NO, window 0x4200001, Code:
KeyPress event, serial 29, synthetic NO, window 0x4200001, Code:
KeyPress event, serial 29, synthetic NO, window 0x4200001, Code:
KeyRelease event, serial 29, synthetic NO, window 0x4200001, As for how to solve this,...? Bugreport I guess... |
Found the bugzilla bugreport: https://qa.mandriva.com/show_bug.cgi?id=41585
|
This can be fixed by starting the vncserver with "+kb" appended to the command:
vncserver :7 -dpi 80 -geometry 800x480 +kb |
appending "+kb" works great for me, thanks
majkelm |
All times are GMT -5. The time now is 09:52 AM. |