2

I'm attempting to provision and manage VM hosts remotely via a VNC connection to a server hosting libvirt and its associated KVM/QEMU hypervisor mechanisms.

All keyboard and mouse functionality WORKS when consoling locally to the individual VMs.

Accessing the same VMs remotely via a VNC connection FAILS to provide keyboard input to e.g. login. I have keyboard and mouse activity through the VNC connection to the virt-manager hosting machine; and the mouse works on the individual VMs. For some perplexing reason, the keyboard does not register on the VMs over VNC.

Any help here?

k1d
  • 21
  • 1
  • 3
  • As this is 3 years old now, I wonder if anyone has come up with a solution? I too am having the same problem. – Mike R Jan 27 '19 at 17:34

4 Answers4

1

I had the same problem until I switched to TigerVNC from TightVNC.

0

Update the tightvnc works for me. https://bintray.com/tigervnc/stable/tigervnc/1.6.0

user874204
  • 79
  • 1
  • 3
  • 1
    There is some truth in this answer. I was having the exact same problem with `vnc4server`, then I decided to switch to `tigervnc-standalone-server` and the problem was gone. Here some other threads stating the same: https://ubuntuforums.org/showthread.php?t=2225320 , https://serverfault.com/questions/973538/how-to-set-keyboard-layout-with-a-vnc-client-to-kvm-libvirt – Aurélien Nov 27 '19 at 13:48
0

You need to add a keyboard to the VM.

atleast that is what i needed to do to get the keyboard working.

Bram
  • 61
  • 2
0

I was using VNC Viewer. Switching from this client to Tiger VNC Viewer fixed this issue. No changes were required in the server.