From 1b0ad327c8deee95d1f56d101277b6152928bc12 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 6 Jun 2020 15:32:58 +0200 Subject: [PATCH] vm: Switch display backend SDL does not work any more under wayland, use GTK. --- vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm b/vm index 14f2483..0f14fea 100755 --- a/vm +++ b/vm @@ -9,7 +9,7 @@ while echo '' | nc localhost $ssh_port >/dev/null; do ssh_port=$((ssh_port+1)) done echo "Host ssh port: $ssh_port" -qemu-system-x86_64 -enable-kvm -display sdl -m 2048 -device virtio-rng-pci \ +qemu-system-x86_64 -enable-kvm -display gtk -m 2048 -device virtio-rng-pci \ -drive file="$image",if=virtio \ -virtfs local,id=src,path=$HOME,security_model=none,mount_tag=home,readonly \ -net nic,model=virtio -net user,hostfwd=tcp::${ssh_port}-:22 "$@" -- 2.39.5