{"id":5793,"date":"2020-01-06T04:22:52","date_gmt":"2020-01-05T19:22:52","guid":{"rendered":"http:\/\/mimumimu.net\/blog\/?p=5793"},"modified":"2020-01-06T04:27:02","modified_gmt":"2020-01-05T19:27:02","slug":"ubuntu-19-10-%e3%81%a7-hyper-v-%e3%81%ae-enhanced-mode-%e3%82%92%e6%9c%89%e5%8a%b9%e3%81%ab%e3%81%99%e3%82%8b-enable-the-enhanced-mode-with-ubuntu-19-10","status":"publish","type":"post","link":"https:\/\/mimumimu.net\/blog\/2020\/01\/06\/ubuntu-19-10-%e3%81%a7-hyper-v-%e3%81%ae-enhanced-mode-%e3%82%92%e6%9c%89%e5%8a%b9%e3%81%ab%e3%81%99%e3%82%8b-enable-the-enhanced-mode-with-ubuntu-19-10\/","title":{"rendered":"Ubuntu 19.10 \u3067 Hyper-V \u306e Enhanced Mode \u3092\u6709\u52b9\u306b\u3059\u308b (Enable the Enhanced Mode with Ubuntu 19.10)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1364\" height=\"872\" src=\"https:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2020\/01\/image.png\" alt=\"\" class=\"wp-image-5794\"\/><\/figure>\n\n\n\n<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>Ubuntu \u3092 Hyper-V \u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u3001<br>\u8d77\u52d5\u6642\u306b\u9ad8\u78ba\u7387\u3067 GUI \u8d77\u52d5\u5f85\u3061\u306b\u306a\u3063\u3066\u4f55\u3082\u64cd\u4f5c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308a<br>\uff08 Ctrl + Alt + Function Key \u3067\u306e\u5207\u308a\u66ff\u3048\u3057\u3066\u3082\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u304c\u51fa\u3066\u3053\u306a\u3044 )<br>\u305d\u3082\u305d\u3082 Enhanced Mode \u304c\u4f7f\u3048\u306a\u304f\u3066\u8272\u3005\u3068\u4e0d\u4fbf\u3067\u3057\u305f\u306e\u3067\u3001<br>\u6709\u52b9\u306b\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p> Hi I&#8217;m Mimura.<\/p>\n\n\n\n<p>I make a script to enable the &#8220;Enhanced Mode&#8221; on Hyper-V with &#8220;Ubuntu 19.10&#8221;.<br>Also, it fix an issue that to fail to start X.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Script:<\/h3>\n\n\n\n<p>\u4e0b\u8a18\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002 \/ you can download from this link:<br><a href=\"https:\/\/gist.github.com\/mimura1133\/a6aebf4945b6688d1a5aedffdfa9368c\">https:\/\/gist.github.com\/mimura1133\/a6aebf4945b6688d1a5aedffdfa9368c<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">How does it works \/ \u3069\u3046\u3044\u3046\u4ed5\u7d44\u307f\u304b:<\/h3>\n\n\n\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001<br>Microsoft \u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b Enhanced Mode \u3092\u6709\u52b9\u306b\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5143\u306b<br>\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br><br> <a href=\"https:\/\/github.com\/microsoft\/linux-vm-tools\/tree\/master\/ubuntu\/18.04\">https:\/\/github.com\/microsoft\/linux-vm-tools\/tree\/master\/ubuntu\/18.04<\/a> <\/p>\n\n\n\n<p> \u6700\u8fd1\u306e Ubuntu \u3067\u306f Wayland \u3092\u6700\u521d\u306b\u4f7f\u7528\u3057\u3088\u3046\u3068\u8a66\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u3001 Xorg \u3092\u4f7f\u3046\u3088\u3046\u306b\u3067\u304d\u3066\u3044\u308b\u305f\u3081\u3001<br>Wayland \u3092\u5229\u7528\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3001<br>Enhanced Mode \u3092 Xorg \u7d4c\u7531\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code># Stop to use wayland.\nsed -i_orig -e &#39;s\/#WaylandEnable=false\/WaylandEnable=false\/g&#39; \/etc\/gdm3\/custom.conf<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305f\u3001\u3069\u3046\u3084\u3089 Ubuntu \u306b\u5165\u3063\u3066\u3044\u308b Wayland \u3068 Hyper-V \u304c\u76f8\u6027\u304c\u60aa\u3044\u3089\u3057\u304f<br>\u6642\u3005\u8d77\u52d5\u306b\u5931\u6557\u3059\u308b\uff08\u30b3\u30f3\u30bd\u30fc\u30eb\u7d4c\u7531\u306e\u30ed\u30b0\u30a4\u30f3\u3082\u53d7\u3051\u4ed8\u3051\u306a\u3044\u72b6\u614b\u306b\u306a\u308b\uff09\u306e\u3067\u3059\u304c<br>Wayland \u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u78ba\u5b9f\u306b\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u3082\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\uff08Arch Linux \u306b\u5165\u308c\u305f\u3068\u304d\u306b\u306f\u4e0a\u624b\u304f\u52d5\u3044\u3066\u3044\u305f\u306e\u3067\u3001 Ubuntu \u306e\u554f\u984c\u3060\u3068\u500b\u4eba\u7684\u306b\u306f\u601d\u3063\u3066\u307e\u3059..\uff09<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>this script based on Microsoft&#8217;s.<br> <a href=\"https:\/\/github.com\/microsoft\/linux-vm-tools\/tree\/master\/ubuntu\/18.04\">https:\/\/github.com\/microsoft\/linux-vm-tools\/tree\/master\/ubuntu\/18.04<\/a> <\/p>\n\n\n\n<p>Recent versions of ubuntu are try to use a Wayland before using Xorg.<br>So, I added a code to disable to use Wayland. <\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code># Stop to use wayland.\nsed -i_orig -e &#39;s\/#WaylandEnable=false\/WaylandEnable=false\/g&#39; \/etc\/gdm3\/custom.conf<\/code><\/pre><\/div>\n\n\n\n<p>In addition, the Wayland and Hyper-V seem to be incompatible, sometimes fail to boot,<br>but the issue is fixed at the same time by disabling wayland.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Ubuntu \u306e\u6700\u65b0\u7248\u304c Enhanced Mode \u3067\u30b5\u30af\u30b5\u30af\u52d5\u3044\u3066\u3001\u30b3\u30d4\u30da\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3057\u3001<br>\u540c\u3058\u3088\u3046\u306b Kal Linux \u3067\u3082 Enhanced Mode \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3082\u306e\u3082\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u306e\u3067<br>Linux \u3092 Hyper-V \u3067\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u3001\u662f\u975e\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u307e\u305b\u30fc\u3002<\/p>\n\n\n\n<p>I have also released another versions for Kali Linux.<br>Please feel free to use the script if you&#8217;re using Linux on Hyper-V.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"868\" src=\"https:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2020\/01\/image-1.png\" alt=\"\" class=\"wp-image-5796\"\/><\/figure>\n\n\n\n<p>Git Repository (Forked from Microsoft):<br><a href=\"https:\/\/github.com\/mimura1133\/linux-vm-tools\">https:\/\/github.com\/mimura1133\/linux-vm-tools<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002 Ubuntu \u3092 Hyper-V \u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u8d77\u52d5\u6642\u306b\u9ad8\u78ba\u7387\u3067 GUI \u8d77\u52d5\u5f85\u3061\u306b\u306a\u3063\u3066\u4f55\u3082\u64cd\u4f5c\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308a\uff08 Ctrl + Alt + Function Key \u3067\u306e\u5207\u308a\u66ff\u3048\u3057\u3066\u3082\u30ed\u30b0\u30a4\u30f3 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,15,7],"tags":[],"class_list":["post-5793","post","type-post","status-publish","format-standard","hentry","category-unix-linux","category-windows","category-dev"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/comments?post=5793"}],"version-history":[{"count":0,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/5793\/revisions"}],"wp:attachment":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/media?parent=5793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/categories?post=5793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/tags?post=5793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}