diff --git a/README.md b/README.md index e26939d..585f3ae 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,40 @@ Ubuntu touch qemu - usage utq ssh - ssh into running ubuntu touch qemu Default user:password is phablet:phablet ``` + +## Troubleshooting +#### Problem: +Running ` utq start ` command throws following error displayed: + ``` + Display 'sdl' is not available + ``` +#### Solution: +Change the display type to gtk in utq.sh file.Make following changes to your utq.sh file. + +##### From: + ``` + function start_qemu { + exec $F_QEMU \ + -enable-kvm \ + -m 2G \ + -device virtio-vga,virgl=on \ + -display sdl,gl=on \ + -netdev user,id=ethernet.0,hostfwd=tcp::10022-:22 \ + -device rtl8139,netdev=ethernet.0 \ + ${IMG_FILE} +} +``` +##### To: +``` function start_qemu { + exec $F_QEMU \ + -enable-kvm \ + -m 2G \ + -device virtio-vga,virgl=on \ + -display gtk,gl=on \ + -netdev user,id=ethernet.0,hostfwd=tcp::10022-:22 \ + -device rtl8139,netdev=ethernet.0 \ + ${IMG_FILE} +} +``` + +