A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V

A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V

NOTE: This guide has been superseded. Just use Quick Create from Hyper-V, select Ubuntu.

Here is a quick guide how to run ubuntu 18.04 in enhanced mode in Hyper-V.

EDIT: This has now been modified for release version.

Please guys, do not add any comments about Virtualbox or VMware being better. Start a new thread if you wish to discuss that. The aim here is to get constructive comments about the Hyper-V mode that can be fed back to developers. I will ask @Brink to remove any such irrelevant comments.

It is actually quite easy to do.

Note: It will only work on 1803 (or Skip Ahead I believe). It will not work on FCU 1709.

It is based on this blog, but there are a couple of differences as that was based on 16.04

I have now fixed the procedure for the release version. It needed an additional file to be edited.

What is the additional file that needs to be edited, haven't you forgotten to add it (I couldn't notice any differences from the previous version of this tutorial)?

Another question: after Enhanced Mode dialog (where I un-check printers), "Login to Ubuntu" dialog opens up with a choice of Session types: Xorg, X11rdp, Xvnc, console, vnc-any, sesman-any, and neutrinordp-any.
Which Session should I chose?

If I select Xorg and enter my Ubuntu login, I the "Login to Ubuntu" dialog disappears and, at first, I am left with empty blue screen (with no Ubuntu UI). A minute or two later, I get a message box with an error:

Occasionally, after entering my Ubuntu login with Xorg session, I get a dialog with an error message "The session was disconnected, try connecting again" and two buttons "Reconnect" and "Exit"... The text in the middle of the black VM window says "Video remoting was disconnected".

Thank you for your help,
Boris

Last edited by bsergeev; 07 May 2018 at 16:16.

My ComputerYou need to have JavaScript enabled so that you can use this ...

What is the additional file that needs to be edited, haven't you forgotten to add it (I couldn't notice any differences from the previous version of this tutorial)?

Another question: after Enhanced Mode dialog (where I un-check printers), "Login to Ubuntu" dialog opens up with a choice of Session types: Xorg, X11rdp, Xvnc, console, vnc-any, sesman-any, and neutrinordp-any.
Which Session should I chose?

If I select Xorg and enter my Ubuntu login, I the "Login to Ubuntu" dialog disappears and, at first, I am left with empty blue screen (with no Ubuntu UI). A minute or two later, I get a message box with an error:

Occasionally, after entering my Ubuntu login with Xorg session, I get a dialog with an error message "The session was disconnected, try connecting again" and two buttons "Reconnect" and "Exit"... The text in the middle of the black VM window says "Video remoting was disconnected".

Thank you for your help,
Boris

The extra step is to edit install.sh

You use xorg

Re. other issues, I cannot say. It works fine for me.
I am puzzled about the 3350 port. The default rdp port is 3389. Have you changed it - if so maybe a firewall issue?

My ComputerYou need to have JavaScript enabled so that you can use this ...

I am trying to install Ubuntu 1704 through Hyper V. It seems to go easily until I select the command to go ahead and install Ubuntu. Then things go wrong.
I get the following error messages as shown in the attachment. It says that file
...

I have a fresh install of Windows 10 1709 Education N, and using the same image I made a Gen2 VM in Hyper-V.
I thought something was off and then I noticed that enhanced mode wasn't on at all, and it is greyed out in the menu. It is enabled in...

How to Turn On or Off Hyper-V Enhanced Session Mode in Windows 10
Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems (aka: guests) can be used and managed just as if they were physical...

When I moved to WIndows 10 both Edge and IE works fine. But recently, Edge started to falling apart. It crashes with a message and the display is too short that I don't even have enough time reading it before Edge close itself. Since I still have IE...

I have Windows 10 Build 10041 and created a VM in Hyper-V using a Windows XP SP3 iso. After initial setup, Windows XP is missing many drivers, including network so I can't copy driver files to the VM. Is there a way to enable usb support or...

About Us
Windows 10 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 10" and related materials are trademarks of Microsoft Corp.