View previous topic :: View next topic |
Author |
Message |
clouds222 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 13 Jul 2009 Posts: 187 Location: Shanghai
|
Posted: Mon Mar 22, 2010 1:56 pm Post subject: VNC/x11vnc repeats charactors input |
|
|
I use vnc viewer 4 to connect to remote gnome desktop, but some times there's a problem pulsed me.
Sometimes when I input a charactor, it auto repeat the input with out stop, even I press the esc key, I can't stop it.
Did some one ever encountered the same problem? I don't know how to fix it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
papahuhn l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Sylvester.gif)
Joined: 06 Sep 2004 Posts: 626
|
Posted: Mon Mar 22, 2010 2:08 pm Post subject: |
|
|
This may occur when vnc has missed the keyrelease event. What happens if you press the said key again and release it then? _________________ Death by snoo-snoo! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
clouds222 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 13 Jul 2009 Posts: 187 Location: Shanghai
|
Posted: Tue Mar 23, 2010 1:39 am Post subject: |
|
|
It do nothing when press the said key again.
I tried to disable the key repeat option in gnome-keyboard-properity. I don't know if this can resolve the problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krunge n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2005 Posts: 9
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9898 Location: almost Mile High in the USA
|
Posted: Mon Apr 05, 2010 10:36 pm Post subject: |
|
|
I've seen this happen before and had to basically restart the remote X server because I have no access to the remote console to hit the offending key.
The suggestions posted on the x11vnc site:
Code: | x11vnc -R clear_mods
x11vnc -R clear_keys
x11vnc -R clear_locks
x11vnc -R clear_all
|
don't always work.
Not sure if there's a way to actually tell the remote X server that "all buttons are currently released" or something... or perhaps something that can be fed into /dev/input... hmm... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krunge n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2005 Posts: 9
|
Posted: Wed Apr 07, 2010 1:55 pm Post subject: |
|
|
So running x11vnc with the '-repeat' option from the start didn't avoid the key-repeating problem?
BTW, which version of x11vnc are you running? It tries to automatically work around in this problem in version 0.9.8 and later. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9898 Location: almost Mile High in the USA
|
Posted: Wed Apr 07, 2010 2:47 pm Post subject: |
|
|
Looks like x11-misc/x11vnc-0.9.6 is the stable version in portage, perhaps a later version needs to be stabilized?
weird, thought earlier versions including 0.9.6 tries to disable key repeat, must be a different issue worked around... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krunge n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2005 Posts: 9
|
Posted: Fri Apr 09, 2010 8:11 pm Post subject: |
|
|
eccerr0r wrote: | Looks like x11-misc/x11vnc-0.9.6 is the stable version in portage, perhaps a later version needs to be stabilized?
weird, thought earlier versions including 0.9.6 tries to disable key repeat, must be a different issue worked around... |
Yes, for a very long time x11vnc's default has been to disable key-repeating in the X server when VNC viewers are connected.
The problem here is different. After 5 minutes of idle keyboard activity from the VNC viewer, x11vnc will re-enable keyrepeating in the X server, and then deactivates keyrepeating when the Viewer starts typing again. This has worked fine for years, but now there is a bug in GNOME (I think a11y) if x11vnc deactivates keyrepeating with any key down GNOME somehow makes the key repeat forever. Evidently with KDE the problem doesn't appear.
So it is x11vnc 0.9.8 and later that try to work around this GNOME bug. All it does is make sure all of the keys are up before deactivating keyrepeat. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|