MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
I just tried it and had to enter it like this to get the wanted text:
Code:
MMike's mmother has a cat saying mmeow.
Naturally, at first I suspected the M letter from the keyboard is broken. But after connecting the same PC from many different computers with different VNC client programs and versions, I came to the conclusion the problem can be nowhere else than in the server PC's (Mandriva 2008.1) tightvnc-server or configuration.
I have the Finnish keyboard layout at both ends. Environment variables seem to have no encodings set. Isn't this a totally weird problem?
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.
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.
is your repeat broken on all but the m key like mine?
can you show your modules so we can compare
For me the repeat works for every key, like usual.
Here's the output:
Code:
$ rpm -qa --last | head -75
wine-1.1.1-1mdv2008.1 ti 22. heinäkuuta 2008 10:30:43
libwine1-1.1.1-1mdv2008.1 ti 22. heinäkuuta 2008 10:30:41
x11-driver-video-openchrome-0.2.902-1mdv2008.1 ti 22. heinäkuuta 2008 10:29:45
x11-driver-video-r128-6.8.0-4mdv2008.1 ti 22. heinäkuuta 2008 10:29:44
x11-driver-video-mach64-6.8.0-2mdv2008.1 ti 22. heinäkuuta 2008 10:29:43
x11-driver-video-ati-6.9.0-2mdv2008.1 ti 22. heinäkuuta 2008 10:29:43
k3b-1.0.5-1mdv2008.1 ti 22. heinäkuuta 2008 10:29:40
ntfs-3g-1.2712-1mdv2008.1 ti 22. heinäkuuta 2008 10:29:39
x11-driver-video-intel-2.3.2-1mdv2008.1 ti 22. heinäkuuta 2008 10:29:38
libk3b3-1.0.5-1mdv2008.1 ti 22. heinäkuuta 2008 10:29:38
mandriva-kdm-config-2008.1-32mdv2008.1 ti 22. heinäkuuta 2008 10:28:21
free-kde-config-2008.1-32mdv2008.1 ti 22. heinäkuuta 2008 10:28:20
pidgin-2.4.3-1mdv2008.1 ti 22. heinäkuuta 2008 10:28:15
pidgin-i18n-2.4.3-1mdv2008.1 ti 22. heinäkuuta 2008 10:28:14
libpurple0-2.4.3-1mdv2008.1 ti 22. heinäkuuta 2008 10:28:13
mandriva-kde-config-common-2008.1-32mdv2008.1 ti 22. heinäkuuta 2008 10:28:12
pidgin-plugins-2.4.3-1mdv2008.1 ti 22. heinäkuuta 2008 10:28:11
totem-common-2.22.0-4.3mdv2008.1 ti 22. heinäkuuta 2008 10:27:04
totem-gstreamer-2.22.0-4.3mdv2008.1 ti 22. heinäkuuta 2008 10:27:02
libmysql15-5.0.51a-8.1mdv2008.1 ti 22. heinäkuuta 2008 10:27:01
timezone-java-2008d-1.1mdv2008.1 ti 22. heinäkuuta 2008 10:27:00
timezone-2008d-1.1mdv2008.1 ti 22. heinäkuuta 2008 10:26:58
gnome-python-extras-2.19.1-10.3mdv2008.1 ti 22. heinäkuuta 2008 10:26:56
x11-server-xvnc-1.4.0.90-14mdv2008.1 ti 22. heinäkuuta 2008 10:26:55
x11-server-xorg-1.4.0.90-14mdv2008.1 ti 22. heinäkuuta 2008 10:26:55
x11-server-common-1.4.0.90-14mdv2008.1 ti 22. heinäkuuta 2008 10:26:54
libpoppler-glib2-0.6.4-2.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:56
myspell-en_US-1.0.2-19.2mdv2008.1 ti 22. heinäkuuta 2008 09:42:55
myspell-en_GB-1.0.2-19.2mdv2008.1 ti 22. heinäkuuta 2008 09:42:55
myspell-fi_FI-1.0.2-19.2mdv2008.1 ti 22. heinäkuuta 2008 09:42:53
libpoppler-qt2-0.6.4-2.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:53
poppler-0.6.4-2.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:52
libpoppler2-0.6.4-2.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:52
libpcre0-7.6-2.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:52
openoffice.org-openclipart-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:18
libbluez2-3.28-1.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:15
openoffice.org-writer-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:14
openoffice.org-kde-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:12
openoffice.org-impress-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:11
openoffice.org-filter-binfilter-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:10
ruby-1.8.6-9p114.1mdv2008.1 ti 22. heinäkuuta 2008 09:42:06
openoffice.org-draw-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:42:04
openoffice.org-style-andromeda-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:40:08
openoffice.org-calc-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:40:06
openoffice.org-style-crystal-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:40:05
openoffice.org-common-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:39:51
openldap-clients-2.4.11-1mdv2008.1 ti 22. heinäkuuta 2008 09:39:46
openldap-2.4.11-1mdv2008.1 ti 22. heinäkuuta 2008 09:39:46
openoffice.org-core-2.4.1.5-2.3mdv2008.1 ti 22. heinäkuuta 2008 09:39:43
libldap2.4_2-2.4.11-1mdv2008.1 ti 22. heinäkuuta 2008 09:39:31
resmgr-1.0-8mdv2008.1 ti 22. heinäkuuta 2008 09:39:30
jwio-data-hpt-3.2-2107ak ti 22. heinäkuuta 2008 08:14:03
mozilla-thunderbird-fi-2.0.0.14-1mdv2008.1 ma 21. heinäkuuta 2008 14:43:57
jwio-3.2-2107ak ma 21. heinäkuuta 2008 10:35:52
cinelerra-2.1-1.svn1046.2plf2008.1 ma 14. heinäkuuta 2008 18:09:16
locales-fi-2.7-3.1mdv2008.1 to 3. heinäkuuta 2008 15:17:29
locales-en-2.7-3.1mdv2008.1 to 3. heinäkuuta 2008 15:17:28
locales-2.7-3.1mdv2008.1 to 3. heinäkuuta 2008 15:17:27
vlc-plugin-pulse-0.8.6h-1plf2008.1 to 3. heinäkuuta 2008 15:13:53
vlc-plugin-ogg-0.8.6h-1plf2008.1 to 3. heinäkuuta 2008 15:13:53
vlc-plugin-a52-0.8.6h-1plf2008.1 to 3. heinäkuuta 2008 15:13:53
vlc-0.8.6h-1plf2008.1 to 3. heinäkuuta 2008 15:13:50
libxvid4-1.1.3-2plf2008.1 to 3. heinäkuuta 2008 15:13:28
rsync-3.0.3-1mdv2008.1 to 3. heinäkuuta 2008 15:13:25
libvlc0-0.8.6h-1plf2008.1 to 3. heinäkuuta 2008 15:13:25
gimp-2.4.6-1mdv2008.1 to 3. heinäkuuta 2008 15:12:49
hdparm-8.8-1mdv2008.1 to 3. heinäkuuta 2008 15:12:48
firefox-fi-3.0-1mdv2008.1 to 3. heinäkuuta 2008 15:12:48
libgimp2.0_0-2.4.6-1mdv2008.1 to 3. heinäkuuta 2008 15:12:47
bind-utils-9.5.0-3mdv2008.1 to 3. heinäkuuta 2008 15:12:20
draksnapshot-0.11-1mdv2008.1 to 3. heinäkuuta 2008 15:12:19
firefox-3.0-3mdv2008.1 to 3. heinäkuuta 2008 15:10:05
mozilla-thunderbird-2.0.0.14-2mdv2008.1 to 3. heinäkuuta 2008 15:10:01
libfirefox3-3.0-3mdv2008.1 to 3. heinäkuuta 2008 15:09:56
kdegraphics-common-3.5.9-8.1mdv2008.1 to 3. heinäkuuta 2008 15:09:53
For me the repeat works for every key, like usual.
Hello all
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.
Hello all
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.
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,
root 0x44, subw 0x0, time 1345448992, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XmbLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345449142, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345453022, (-552,630), root:(39,658),
state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
XLookupString gives 1 bytes: (6d) "m"
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345454967, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XmbLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345455094, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345458327, (-552,630), root:(39,658),
state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
XLookupString gives 1 bytes: (6d) "m"
XmbLookupString gives 1 bytes: (6d) "m"
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345461079, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XmbLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345461207, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345463120, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XmbLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345463190, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345465495, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XmbLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345465639, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345467703, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XmbLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345467807, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345471231, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XmbLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345471318, (-552,630), root:(39,658),
state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
XLookupString gives 1 bytes: (20) " "
XFilterEvent returns: False
So a single keypress 'k' gives these x-events:
Code:
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345467703, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XmbLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345467807, (-552,630), root:(39,658),
state 0x0, keycode 45 (keysym 0x6b, k), same_screen YES,
XLookupString gives 1 bytes: (6b) "k"
XFilterEvent returns: False
Whereas a single keypress 'm' will give either:
Code:
KeyPress event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345458327, (-552,630), root:(39,658),
state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
XLookupString gives 1 bytes: (6d) "m"
XmbLookupString gives 1 bytes: (6d) "m"
XFilterEvent returns: False
or
Code:
KeyRelease event, serial 29, synthetic NO, window 0x4200001,
root 0x44, subw 0x0, time 1345453022, (-552,630), root:(39,658),
state 0x0, keycode 58 (keysym 0x6d, m), same_screen YES,
XLookupString gives 1 bytes: (6d) "m"
XFilterEvent returns: False
Upon careful examination, pressing 'm' will only trigger a _KeyPress_ event every other time.
As for how to solve this,...?
Bugreport I guess...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.