When running QEMU with -display gtk
under Sway (a Wayland WM), I get the following error output and the keyboard input doesn’t work (the mouse works fine when I set the “grab on hover” option):
qemu-system-x86_64: warning: Unsupported GDK Windowing platform.
Disabling extended keycode tables.
What works for me is -display sdl
, although it (obviously) doesn’t provide a menu panel. Or you can try vnc; see qemu(1) for available vnc options – for example, you can make the vnc server listen on a unix socket: -display vnc=unix:my_qemu_vm.sock
.
Tagged with: QEMU, Sway, Wayland
Written: 2022-03-30