View previous topic :: View next topic |
Author |
Message |
clouds222 Apprentice
Joined: 13 Jul 2009 Posts: 187 Location: Shanghai
|
Posted: Mon Mar 22, 2010 1:59 pm Post subject: input auto repeat, and can't stop, remote connect with VNC |
|
|
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 |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Tue Mar 23, 2010 9:04 am Post subject: |
|
|
this suggest you need to use -repeat with x11vnc .
Seems to be a bug in Xorg... |
|
Back to top |
|
|
clouds222 Apprentice
Joined: 13 Jul 2009 Posts: 187 Location: Shanghai
|
Posted: Tue Mar 23, 2010 2:12 pm Post subject: |
|
|
[/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 |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Tue Mar 23, 2010 2:17 pm Post subject: |
|
|
Ow sorry for the confusion.
x11vnc -repeat
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 |
|
|
clouds222 Apprentice
Joined: 13 Jul 2009 Posts: 187 Location: Shanghai
|
Posted: Wed Mar 24, 2010 4:18 am Post subject: |
|
|
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 |
|
|
egberts Guru
Joined: 04 Nov 2003 Posts: 357 Location: Dimmed Cathode Ray Tube
|
Posted: Mon Sep 24, 2012 2:41 pm Post subject: Get VNC to stop auto-repeating keystrokes using 'xset r off' |
|
|
To get VNC to stop auto-repeating keystrokes over sluggish network link (commonly found with laptop over VPN), use the following command line approach:
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 |
|
|
|
|
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
|
|