I've set up a VM with VirtualBox.The problem is that the guest system doesn't capture all keys. Although, the option Auto Capture Keyboard is set. Keys like Super or shortcuts like Alt+Tab are always handled by the host system and not by the guest as I would expect.How can I capture all keys (except the Host Key) within the guest system?Host: Linux arch 4.11.3-1-ARCH #1 SMP PREEMPT Sun May 28 10:40:17 CEST 2017 x86_64 GNU/LinuxGuest: Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux
VirtualBox: How to capture shortcuts in the guest OS?
kali linux;virtualbox;keyboard;wayland
Changing the XDG_SESSION_TYPE from wayland to x11 solved the problem.The following line in the /etc/gdm/custom.conf file has to be uncommented:#WaylandEnable=false