Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-23-2014, 04:19 AM   #1
Registered: Jan 2010
Posts: 82

Rep: Reputation: 1
Keyboard doesn't sense key strokes if key kept pressed

Hi All,

I am having very strange problem. I am using CentOS 6.4 I used to connect my machine through x11vnc command. Once I connect to my machine through vncviewer what I found is though I kept pressed any key lets say "A" it prints "A" only once, I have to keep press "A" again and again to get it printed "AAAAA". To get this work I have to unplug and replug the keyboard.

Can anybody help onto this? Is there any way to restart keyboard service?

Old 06-24-2014, 09:28 AM   #2
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
This is probably in your manual:
KBDRATE(8) Linux Programmer's Manual KBDRATE(8)

kbdrate - reset the keyboard repeat rate and delay time

kbdrate [ -s ] [ -r rate ] [ -d delay ]

kbdrate is used to change the keyboard repeat rate and delay time. The delay is the amount of time that a key must be
depressed before it will start to repeat.

Using kbdrate without any options will reset the repeat rate to 10.9 characters per second (cps) and the delay to 250 mil-
liseconds (ms) for Intel- and M68K-based systems. These are the IBM defaults. On SPARC-based systems it will reset the
repeat rate to 5 cps and the delay to 200 ms.
If you add something like...

#kbdrate -r somenumber -d somenumber

to your VNC login script, it might fix the problem.

Last edited by dijetlo; 06-24-2014 at 09:30 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Injecting key strokes to simulate a keyboard theosys Programming 9 11-03-2016 01:17 PM
Keyboard Doesn't Respond to input until Menu Key is pressed - Ubuntu 11.04 AlexOnVinyl Linux - Newbie 1 09-04-2011 09:51 PM
USB keyboard - Capture key strokes/input v333k Linux - Software 2 10-19-2009 01:44 PM
Mechanism behind key pressed on keyboard which shown on console aravinda78 Linux - General 0 12-12-2008 08:02 AM
RHEL 3 - Keyboard send several chars when key pressed once lmx Red Hat 1 01-29-2005 11:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration