Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
input auto repeat, and can't stop, remote connect with VNC
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Mon Mar 22, 2010 1:59 pm    Post subject: input auto repeat, and can't stop, remote connect with VNC Reply with quote

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.
I disconenct VNC, stop x11vnc, and then reconnect, it still repeating.
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Mar 23, 2010 9:04 am    Post subject: Reply with quote

this suggest you need to use -repeat with x11vnc :) .

Seems to be a bug in Xorg...
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Tue Mar 23, 2010 2:12 pm    Post subject: Reply with quote

[/bug]
Rexilion wrote:
this suggest you need to use -repeat with x11vnc :) .

Seems to be a bug in Xorg...


but there's no repeat usage for this package.

Code:
x11-misc/x11vnc-0.9.6  USE="crypt jpeg ssl threads zlib -avahi -system-libvncserver -v4l -xinerama" 0 kB
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Tue Mar 23, 2010 2:17 pm    Post subject: Reply with quote

Ow sorry for the confusion. :roll:

x11vnc -repeat

:lol:

Quote from the manpage (x11vnc manpage that is :) ):

Quote:
-norepeat, -repeat

Option -norepeat disables X server key auto repeat when
VNC clients are connected and VNC keyboard input is not idle for more than 5 minutes. This works around a repeating keystrokes bug (triggered by long processing delays between key down and key up client events: either from large screen changes or high latency). Default: -norepeat
Note: your VNC viewer side will likely do autorepeating,
so this is no loss unless someone is simultaneously at the real X display.
Use "-norepeat N" to set how many times norepeat will
be reset if something else (e.g. X session manager) undoes it. The default is 2. Use a negative value for unlimited resets.
Back to top
View user's profile Send private message
clouds222
Apprentice
Apprentice


Joined: 13 Jul 2009
Posts: 187
Location: Shanghai

PostPosted: Wed Mar 24, 2010 4:18 am    Post subject: Reply with quote

so, seems it's a bug of xorg-server. And it's said to be fixed w/ the packages:
xserver-xorg-core 1.7.3.902
gnome-settings-daemon 2.28.1
Back to top
View user's profile Send private message
egberts
Guru
Guru


Joined: 04 Nov 2003
Posts: 357
Location: Dimmed Cathode Ray Tube

PostPosted: Mon Sep 24, 2012 2:41 pm    Post subject: Get VNC to stop auto-repeating keystrokes using 'xset r off' Reply with quote

To get VNC to stop auto-repeating keystrokes over sluggish network link (commonly found with laptop over VPN), use the following command line approach:

Code:
xset r off

It works for me!

I put it in my ~/.cshrc (or ~/.bashrc) profile startup script, sometimes if-then-fi and a test condition for a VPN-detected network-specific connection.

PS: Of course, you do this AFTER the first VNC login and at the FIRST VNC login's X-windows session. Subsequential login to other X-Windows-based host(s), are not required (unless, they too are distantly remote or heavily network-tunneled).
_________________
Clusters of Fry's Special, AMD 2200, 2 GB DDR, 220 GB (2008.1/desktop, stage 1, -O3) x8
HP Compaq Fry's SPecial, AMD 2100, 2 GB DDR, 260 GB (2008.0/server, stage 1, -O3)
Ultra Sparc 5, 256MB, 3GB (2006.1/server, stage 1, -O3)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum