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

Discus and support A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V in Windows 10 Virtualization to solve the problem; Here is a quick guide how to run ubuntu 18.04 in enhance mode in Hyper-V. EDIT: This is not working on release version! Something has changed. I... Discussion in 'Windows 10 Virtualization' started by cereberus, Mar 30, 2018.

  1. cereberus Win User

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


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


    EDIT: This is not working on release version! Something has changed. I see it has been reported - I guess we need to wait.

    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.

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

    Sneak Peek: Taking a Spin with Enhanced Linux VMs | Virtualization Blog

    Running in enhanced mode on SCU 1803 (will not work on FCU 1709) allows you to :-

    a) resize screens

    b) cut and paste text from host and vice versa

    c) access native wndows drives

    Steps are as follows:-

    1) Download Ubuntu 18.04 iso, and install it in hyper-V as generation 1 vm. I will assume install is named Ubuntu1804 - you need name in Step 4


    http://releases.ubuntu.com/18.04/ubu...ktop-amd64.iso


    Be patient installing - it is very slow, even with minimal install!

    2) Optional but worth doing - modify the screen resolution as the default resolution in hyper-v is rather odd, especially for laptops.

    From within the Ubuntu virtual machine, open Terminal.

    Type sudo vi /etc/default/grub (or use nano instead of vi)

    Find GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

    Modify it as follows:-

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"

    I set it here for my laptop 1366x768 - change as appropriate.

    Reboot Unbuntu VM

    3) Modify ubuntu 18.04 to use xrdp

    #Get the scripts from GitHub

    $ sudo apt-get update

    $ sudo apt install git

    $ git clone GitHub - jterry75/xrdp-init ~/xrdp-init

    #Make the scripts executable and run them...

    $ cd ~/xrdp-init/ubuntu/18.04/

    $ sudo chmod +x install.sh

    $ sudo ./install.sh

    VM will reboot now after script has been executed.

    #Run script again to finish setting up VM

    $ cd ~/xrdp-init/ubuntu/18.04/

    $ sudo ./install.sh

    Shutdown Ubuntu VM. I use Hyper-V shutdown.

    4) Run this command on host PC using powershell with admin rights

    Set-VM -VMName Ubuntu1804 -EnhancedSessionTransportType HvSocket

    (change vmname as appropriate from Step 1). Put name in double quotes if spaces in name

    5) Restart VM, and you the get the familiar enhanced mode screen

    Important:- UNCHECK Printers in local resources. There is a bug at the moment and if you leave it checked, you cannot see host drives you select.


    A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V [​IMG]


    If you forget, close down VM AND the VMCONNECT SESSION - do not restart same VMCONNECT session or else the enhanced mode screen does not pop up.

    6) You will then get the xrdp login screen, and enter username - must be lowercase.

    It will now run it in enhanced mode.

    Cut and Paste works now.

    Shared Host Drives are now visible - 16.04 fails.


    A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V [​IMG]


    :)
     
    cereberus, Mar 30, 2018
    #1

  2. Can I dual boot Windows 10 and Ubuntu on the same drive without partitioning

    That sounds like a much better option, or you can also use cygwin or something.

    Ubuntu in a VM
    such as
    Hyper-V
    is also an option if you need the actual OS.
     
    RobertJWin, Mar 30, 2018
    #2
  3. SarahKong Win User
    Unable to install fall creators update 1709

    Oh i see.

    I use Ubuntu on a VM.

    Windows 10 has Hyper-V so you can download Ubuntu and create a Ubuntu VM.

    More work yes, but i like it because it is more isolated too.

    https://www.windowscentral.com/how-run-linux-di...
     
    SarahKong, Mar 30, 2018
    #3
  4. Cliff S New Member

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

    Thanks cereberus, I bookmarked this to my tutorials folder, so I can try this after the spring update on my system(only my VM is insider).
    Plus this post subs me to the thread.

    I use my Ubuntu VM daily, so this is important to me.
     
    Cliff S, Mar 30, 2018
    #4
  5. lx07 Win User
    Where is the link?

    I read it a couple of days ago and can't find any more. I'm assuming you are talking about next version of Ubuntu on insider Windows...

    EDIT: OK got it - your post makes more sense now but do use
    Code:
     tags if you can.
     
     I also think you shouldn't post to this forum using Chrome - it comes out gobbledygook.
     
     Thank you for this anyway - it is something fun to play with.
     
  6. cereberus Win User
     
    cereberus, Mar 30, 2018
    #6
  7. lx07 Win User
    Got it - thanks. Am trying It now.
     
  8. jimbo45 Win User

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

    Hi there
    @cereberus Thanks !!!

    Just a note to people installing Ubuntu 18.XX

    Ubuntu 18.04 LTS Release Date and New Features

    LTS date for 18.04 is now out (Apr 26) so people might want to hold off building a "Daily use" type VM until then.

    Otherwise thanks for great tutorial.

    Cheers
    jimbo
     
    jimbo45, Mar 30, 2018
    #8
  9. cereberus Win User
    I must admit, I dislike the new style desktop. I have yet to work out how to keep taskbar permanently on desk top rather than clicking the applications button in top left. I have no idea what that vertical toolbar on right is?
     
    cereberus, Mar 30, 2018
    #9
  10. jimbo45 Win User
    Hi there
    @cereberus

    that's why I'm using the KDE desktop (install the plasma desktop) I tested it with 17.XX and will certainly try HYPER-V with the new release when it comes out.

    I'm a bit reluctant to test it currently with HYPER-V as the final release might still throw up glitches (although this near final it "Should work"). Will certainly download on Apr 26 and test then.

    Anyway cheers and enjoy rest of Easter Holiday

    jimbo
     
    jimbo45, Mar 30, 2018
    #10
  11. GalaxyGe Win User
    thanks for the great tutorial, highly appreciated!!
    bar on the right may be the one to maintain the virtual desktops, you can switch between desktops and move windows around between them and active desktop.
     
    GalaxyGe, Mar 30, 2018
    #11
  12. cereberus Win User
    Yeah - it looks like that.
     
    cereberus, Apr 5, 2018
    #12
Thema:

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

Loading...
  1. A guide how to run Ubuntu 18.04 in Enhanced Mode in Hyper-V - Similar Threads - guide run Ubuntu

  2. Hyper-V, Windows 10 Samrtcard access in enhanced session mode

    in AntiVirus, Firewalls and System Security
    Hyper-V, Windows 10 Samrtcard access in enhanced session mode: Hi, I've recently enabled hyper-v on my Windows 10 pro system that's updated (June 2019). I've seen that enhanced session mode is available for both the Ubuntu 18.04 LTS and the Ubuntu 19.04 templates from the "quick create" menu. This has the ability to access local...
  3. Hyper-V Enhanced Session Mode 'Intercept' Stopped Working

    in Windows 10 Virtualization
    Hyper-V Enhanced Session Mode 'Intercept' Stopped Working: WIN 10 build 1809. Very strange problem. Hyper-V was working fine with enhanced sessions and then went south. Checked Hyper-v settings and both Server -- > Enhanced Session Mode Policy and User --> Enhanced Session Mode are checked. With new virtual machines there is no...
  4. Hyper-V Hypervisor not running - can't remove Hyper-V feature

    in Windows 10 Virtualization
    Hyper-V Hypervisor not running - can't remove Hyper-V feature: I am using Windows 10 Insider Preview 11082 (upgraded from Windows 1151 fully updated. I had installed the Hyper-V feature in the latest Windows 1151 but had not used it before I received and installer the Insider Preview edition. The Hyper-V Manager was configured OK...
  5. Hyper-V/Ubuntu 10.04 Installation/Error

    in Windows 10 Virtualization
    Hyper-V/Ubuntu 10.04 Installation/Error: I recently purchased a Dell XPS 15, 9550, 6700HQ, W10P, 16Gig, non-touch, refurb computer. I re-partitioned the SSD drive, creating among other things drive 'R' of about 97 Gig. R was not reformatted - it is NTFS. Using another computer, I downloaded Ubuntu 10.04.LTS ISO...
  6. Help with Installing Ubuntu VM in Hyper-v and creating an image

    in Windows 10 Virtualization
    Help with Installing Ubuntu VM in Hyper-v and creating an image: Help with Installing Ubuntu VM in Hyper-v and creating an image as a .WIM within SCCM. So here's a breakdown of the situation: - I need Ubuntu to be installed as a VM on several Windows machines e.g. approximately 90-110 Desktops. - I've used Virtualbox previously...
  7. Cannot Install Ubuntu 17.04 in Hyper-v

    in Windows 10 Virtualization
    Cannot Install Ubuntu 17.04 in Hyper-v: 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...
  8. Installing Ubuntu in VM using hyper-v

    in Windows 10 Virtualization
    Installing Ubuntu in VM using hyper-v: Apologies for the very basic question, but this is my first attempt at creating a virtual machine within Windows 10 pro using hyper-v. I have created a VM, and during the process allocated a drive/folder for that VM, and selected the Linux iso file that should be installed....
  9. HYPER-V and Unity mode equivalent ??

    in Windows 10 Virtualization
    HYPER-V and Unity mode equivalent ??: Hi there I really love using the VM's in UNITY MODE - especially for Windows VM's from Linux boxes. Is there an equivalent type of facility in HYPER-V. (It's not a showstopper but Unity is a great feature). Cheers jimbo 2479
  10. Turn On or Off Hyper-V Enhanced Session Mode in Windows 10

    in Windows 10 Tutorials
    Turn On or Off Hyper-V Enhanced Session Mode in Windows 10: How to: Turn On or Off Hyper-V Enhanced Session Mode in Windows 10 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...
Tags:

Users found this page by searching for:

  1. ubuntu 18.04 runs on windows 10 hyper-v with enhanced session mode

    ,
  2. hyper-v ubuntu 18.04 enhanced mode

    ,
  3. ubuntu hyper v tablet mode

    ,
  4. ubuntu hyper-v enhanced mode,
  5. ubuntu 19 enhanced mode hyperv,
  6. ubuntu hyper-v enhanced,
  7. hyper-v ubuntu 18.04 upgrade blue screen,
  8. Ubuntu 18.04 in Enhanced Mode in Hyper-V,
  9. ubuntu 18.04 enable enhaced session hyper-v,
  10. enhanced session mode not working ubuntu 18.04.1 lts,
  11. ubuntu 18 not working with enhanced mode hyper v,
  12. ubuntu in enhanced mode hyper-v default switch network is slow,
  13. ubuntu 18.4 enhanced session,
  14. ubuntu 18.4 hypervisor error 18590,
  15. ubuntu enhanced mode drivers