Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

VNC/x11vnc repeats charactors input

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
clouds222
Apprentice
Apprentice
Posts: 187
Joined: Mon Jul 13, 2009 10:05 am
Location: Shanghai

VNC/x11vnc repeats charactors input

  • Quote

Post by clouds222 » Mon Mar 22, 2010 1:56 pm

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.
Top
papahuhn
l33t
l33t
User avatar
Posts: 626
Joined: Mon Sep 06, 2004 9:14 am

  • Quote

Post by papahuhn » Mon Mar 22, 2010 2:08 pm

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!
Top
clouds222
Apprentice
Apprentice
Posts: 187
Joined: Mon Jul 13, 2009 10:05 am
Location: Shanghai

  • Quote

Post by clouds222 » Tue Mar 23, 2010 1:39 am

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.
Top
krunge
n00b
n00b
Posts: 9
Joined: Wed May 04, 2005 11:26 pm

  • Quote

Post by krunge » Sun Apr 04, 2010 1:11 pm

Are you seeing this problem?

http://ubuntuforums.org/showthread.php?t=1125694

There are a number of workarounds discussed there.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Mon Apr 05, 2010 10:36 pm

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: Select all

   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 Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
krunge
n00b
n00b
Posts: 9
Joined: Wed May 04, 2005 11:26 pm

  • Quote

Post by krunge » Wed Apr 07, 2010 1:55 pm

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.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Wed Apr 07, 2010 2:47 pm

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 Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
krunge
n00b
n00b
Posts: 9
Joined: Wed May 04, 2005 11:26 pm

  • Quote

Post by krunge » Fri Apr 09, 2010 8:11 pm

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.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic