7374756666

x11vnc tips fixes and weirdness

I've encountered a few issues when using x11vnc to remotely connect to and existing runing X session.

Here they are and the fixes for them:

Server crashes with caught XIO error

Add the -xnodamage option [1]

The keys stop repeating

Run xset r or enable the -repeat option [2]

The () bracket keys aren't passed to KVM

If you connect to a machine running KVM and open a virt-viewer session the ( and ) keys aren't sent to the guest.

Add -skip_keycodes $(grep -E '<I[12]..> =' /usr/share/X11/xkb/keycodes/evdev | awk '{print $3}' | tr '\n' , | sed -e 's/;//g' -e 's/,$//')

to the x11vnc command [3]

References

  1. Arch Wiki
  2. Arch forum
  3. Debian bug tracker