From f3a4c6eedcc07af14308ace0a4a196dd9e57148e Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:41:15 +0530 Subject: [PATCH 1/7] Updated Readme file Troubleshooting guide entry workaround for error : "Display 'sdl' is not available". --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index e26939d..529febb 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,36 @@ Ubuntu touch qemu - usage utq ssh - ssh into running ubuntu touch qemu Default user:password is phablet:phablet ``` + +##Troubleshooting +###Problem: +When running command ```utq start``` throws following error displayed: + ```Display 'sdl' is not available`` + ####Solution: Change the display type to gtk. + Make following changes in 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} +} +''' + + From f13576b6d68340b4726437c864b7464d44645ec9 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:42:57 +0530 Subject: [PATCH 2/7] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 529febb..2d92be8 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,14 @@ Ubuntu touch qemu - usage Default user:password is phablet:phablet ``` -##Troubleshooting -###Problem: -When running command ```utq start``` throws following error displayed: - ```Display 'sdl' is not available`` - ####Solution: Change the display type to gtk. +## Troubleshooting +### Problem: +When running command ``` utq start ``` throws following error displayed: + ``` Display 'sdl' is not available ``` +#### Solution: Change the display type to gtk. Make following changes in your utq.sh file. From: - '''function start_qemu { + ''' function start_qemu { exec $F_QEMU \ -enable-kvm \ -m 2G \ @@ -43,7 +43,7 @@ When running command ```utq start``` throws following error displayed: } ''' To: -'''function start_qemu { +''' function start_qemu { exec $F_QEMU \ -enable-kvm \ -m 2G \ From 1dd1101b3094bc2398b2a9a9bd7f71d3e121d336 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:46:23 +0530 Subject: [PATCH 3/7] Update README.md --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2d92be8..25df1df 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,16 @@ Ubuntu touch qemu - usage ``` ## Troubleshooting -### Problem: -When running command ``` utq start ``` throws following error displayed: - ``` Display 'sdl' is not available ``` -#### Solution: Change the display type to gtk. - Make following changes in your utq.sh file. +#### 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 in your utq.sh file. From: - ''' function start_qemu { + ``` + function start_qemu { exec $F_QEMU \ -enable-kvm \ -m 2G \ @@ -41,9 +44,9 @@ When running command ``` utq start ``` throws following error displayed: -device rtl8139,netdev=ethernet.0 \ ${IMG_FILE} } -''' +``` To: -''' function start_qemu { +``` function start_qemu { exec $F_QEMU \ -enable-kvm \ -m 2G \ @@ -53,6 +56,6 @@ To: -device rtl8139,netdev=ethernet.0 \ ${IMG_FILE} } -''' +``` From 1d2cb745b55e48820893657dc703a3ebe38a211c Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:46:59 +0530 Subject: [PATCH 4/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25df1df..75e61f8 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Ubuntu touch qemu - usage ## Troubleshooting #### Problem: -Running utq start command throws following error displayed: +Running ``` utq start ``` command throws following error displayed: ``` Display 'sdl' is not available ``` From aa39ef67275b2b0a4a8efab6eef8c60c253a150c Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:48:11 +0530 Subject: [PATCH 5/7] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75e61f8..bc7bc8d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,8 @@ Running ``` utq start ``` command throws following error displayed: ``` #### Solution: Change the display type to gtk in utq.sh file.Make following changes in your utq.sh file. - From: + +##### From: ``` function start_qemu { exec $F_QEMU \ @@ -45,7 +46,7 @@ Change the display type to gtk in utq.sh file.Make following changes in your utq ${IMG_FILE} } ``` -To: +##### To: ``` function start_qemu { exec $F_QEMU \ -enable-kvm \ From 8d07ca7594b3f45203c70cadf3436c958d03eb2c Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:49:13 +0530 Subject: [PATCH 6/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc7bc8d..34dbe2c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Ubuntu touch qemu - usage ## Troubleshooting #### Problem: -Running ``` utq start ``` command throws following error displayed: +Running ` utq start ` command throws following error displayed: ``` Display 'sdl' is not available ``` From 9a04b1c4192607b0649d95449bd8e76369368f14 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 10 Oct 2020 18:49:52 +0530 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34dbe2c..585f3ae 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 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 in your utq.sh file. +Change the display type to gtk in utq.sh file.Make following changes to your utq.sh file. ##### From: ```