Windows 10: Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled

Discus and support Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled in Windows 10 Network and Sharing to solve the problem; I'm currently running Windows 2004, but this issue cropped up after the update. In Hyper-V if I "quick create" a Ubuntu 18.04, after installing, I get... Discussion in 'Windows 10 Network and Sharing' started by zBernie, Jul 6, 2020.

  1. zBernie Win User

    Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled


    I'm currently running Windows 2004, but this issue cropped up after the update. In Hyper-V if I "quick create" a Ubuntu 18.04, after installing, I get the error:


    error: No such device: root

    This just started about two days ago. After the VM is created if I enable "Enhanced Session" from the vmconnect View menu, it just keeps disconnecting the session and I wind up back at the vmconnect login screen. If I disable "Enhanced Session", I can login normally but then I don't have the benefits of an enhanced session.


    Anyone experience a similar problem?

    :)
     
    zBernie, Jul 6, 2020
    #1
  2. cereberus Win User

    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

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

    Running in enhanced mode allows you to :-

    a) resize screens

    b) cut and paste text from host and vice versa

    c) access native wndows drives

    I cannot guarantee this works if the RDP default port of 3389 is changed, or if using 3rd party firewalls.

    Steps are as follows:-

    1) Install Ubuntu


    Download Ubuntu 18.04 iso, and install it in hyper-V as generation 1 vm. I will assume install is named Ubuntu - 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) Modify ubuntu 18.04 to use xrdp


    Code:
    Now we need to edit install.sh and comment out two lines


    Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled [​IMG]


    edit it and add # in front of the two rmmod commands as so:-


    Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled [​IMG]



    Code:
    Code:
    Shutdown Ubuntu VM.

    ----------------------------------------------------------------------------------------

    3) Register Ubuntu session

    Run this command on host PC using powershell with admin rights

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

    ------------------------------------------------------------------------------------------

    4) Start in Enhanced Mode

    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.



    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.

    ------------------------------------------------------------------------------------------------

    5) Login to XRDP

    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
     
    cereberus, Jul 6, 2020
    #2
  3. Dave M Win User
    Issues enabling Enhanced Session on 10 Pro VM

    Hello guys!

    This is my first post here, so go easy on me Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled :)

    I have been racking my brain, and have done search after search on how to solve my issue, but I have come to no suitable solution as of yet. I've seen that folks have been able to solve the problem, but no description as to what they did to solve it. It's almost like it just magically starts working Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled :) I've had no such luck as of this writing.

    Here is the problem:

    I am attempting to install Windows 10 Pro x64 build 14393 on a Hyper-V Host which is running the same OS.

    I have created the VM with no issues and installed with no issues. I can not for the life of me find out why I can not enable the features of enhanced session to be able to connect external drives, USB sticks, enable audio and enhanced graphics, etc.

    So far the steps I have taken include:

    1) VM created as Generation 2
    2) Verified "Allow enhanced session mode" is checked in Hyper-V Enhanced Session Mode Policy server settings
    3) Verified "Use enhanced session mode" is checked in Hyper-V Enhanced Session Mode user settings
    4) Verified all integration services are checked under the VM settings
    5) Verified Remote Desktop Services service is running on VM

    Perhaps there is something I am missing? At this point, when I connect to the VM there is no ability to connect to local resources. Additionally, the "Enhanced session" option under the View menu on the VM is greyed out.

    Any assistance in getting this resolved would be greatly appreciated!
     
    Dave M, Jul 6, 2020
    #3
  4. Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled

    Use Smart card in Linux VMs

    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 resources from the VM when connected using enhanced session mode. By default smartcards are selected for passthrough to the Linux VMs.

    My problem is that my smartcard isn't accessable by the VM. Previously I have used smartcard sharing on VMware workstation (I'm aware that full USB passthrough to a Linux VM isn't available in hyper-v), however my usual methods of using the SC for SSH authentication
    - for VMware VMs and on baremetal machines - doesn't detect the card/device at all. This is either the gnupg-agent method or the PKCS11 method for public key authentication.

    My SC can be used for SSH authentication on the win10 host using putty, but I really need to use it in a Linux environment.

    So far my searches haven't yielded any informention on this. The last time I tested hyper-v, enhanced session mode wasn't available for Linux VMs, even if they were created from an offical template in the quick create menu. Has anyone got this working? Or
    could you point me in the right direction for relavent documentation?

    Thanks in advance.

    (This could be in the wrong catagory...)

    ***Modified title from: Hyper-V, Windows 10 Samrtcard access in enhanced session mode***
     
    DoubtingPlace59, Jul 6, 2020
    #4
Thema:

Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled

Loading...
  1. Problem with "quick create" Ubuntu 18.04.3 VM with enhanced mode enabled - Similar Threads - Problem quick create

  2. no sound in ubuntu VM

    in Windows 10 Gaming
    no sound in ubuntu VM: There's no sound in Ubuntu while on windows 11 virtual machine https://answers.microsoft.com/en-us/windows/forum/all/no-sound-in-ubuntu-vm/a0d6c7c5-c83b-40db-8f9a-636d41b3b11b
  3. no sound in ubuntu VM

    in Windows 10 Software and Apps
    no sound in ubuntu VM: There's no sound in Ubuntu while on windows 11 virtual machine https://answers.microsoft.com/en-us/windows/forum/all/no-sound-in-ubuntu-vm/a0d6c7c5-c83b-40db-8f9a-636d41b3b11b
  4. creating a VM

    in Windows 10 Virtualization
    creating a VM: I would like to create a VM, and I have watch video's on how to do this. The end product of what I'm looking for is to install Windows 11 on my F drive (SSD (500gb)). I've already found and made my windows 11.ISO file as well which is over on my C drive. If I create a VM and...
  5. Hypervisor Quick Create does not let you use the latest Ubuntu

    in Windows 10 Installation and Upgrade
    Hypervisor Quick Create does not let you use the latest Ubuntu: How can I quick create with the newest Ubuntu 21.04 without downloading the ISO and making a bootable drive with that ISO or burning DVD. It is not included....
  6. Windows Hello PIN preventing use of Hyper-VM VM in enhanced mode

    in Windows 10 Virtualization
    Windows Hello PIN preventing use of Hyper-VM VM in enhanced mode: I have come across a strange bug with Hyper-V (will report to MS). I created a Windows Pro VM set up with my MS account. I was then unable to access the VM in enhanced mode using the normal vmconnect screens in Hyper-V. I just get dumped to the lockscreen and no keys...
  7. How to enable Enhanced Mode in Windows 10 Search

    in Windows 10 News
    How to enable Enhanced Mode in Windows 10 Search: [ATTACH] [ATTACH]Microsoft has included an Enhanced Search Mode in Windows 10 v1903. Compared to the Classic Mode, Enhanced search mode indexes everything on your Windows 10 PC. In this post, we will share how you can enable Enhanced Search mode in [...] This post How to...
  8. INSTALL UBUNTU 18.O4

    in Windows 10 Software and Apps
    INSTALL UBUNTU 18.O4: WHAT DO I HAVE TO KNOW TO INSTALL UBUNTU 18.04 WITH WINDOWS 10. https://answers.microsoft.com/en-us/windows/forum/apps_windows_10-winapps-appscat_tools/install-ubuntu-18o4/e2757bc7-3571-4e3f-b49b-53eb48fb9e7c
  9. Issues enabling Enhanced Session on 10 Pro VM

    in Windows 10 Virtualization
    Issues enabling Enhanced Session on 10 Pro VM: Hello guys! This is my first post here, so go easy on me *Smile I have been racking my brain, and have done search after search on how to solve my issue, but I have come to no suitable solution as of yet. I've seen that folks have been able to solve the problem, but no...
  10. Hyper-V Quick Create - Setup Ubuntu Linux virtual machine

    in Windows 10 Tutorials
    Hyper-V Quick Create - Setup Ubuntu Linux virtual machine: How to: Hyper-V Quick Create - Setup Ubuntu Linux virtual machine [img] Information Microsoft's cooperation with Canonical just took a giant leap. Will Cooke from Canonical announced new Hyper-V Quick Create Gallery virtual hard disk with pe-installed Ubuntu 18.04 LTS....