Assuming a Ubuntu 19.04 VM was created using "Quick Create" option, do:
1. From the host machine, run PowerShell as administrator
PS c:\> Set-VM -VMName __Ubuntu_VM_Name_here__ -EnhancedSessionTransportType HvSocket
2. Power-up the VM, and then install linux-azure kernel, like:
$: sudo apt install linux-azure
3. Shutdown the VM. This is very important, restarting the VM does not work. You can do, like:
$: sudo shutdown -h now
Once the VM is turned off, turn it back on. It should now have Enhanced Session Mode. For example, the screen dimension can be changed on connection, copy/paste between host and guest should work, also drive re-direction should work.
References:
https://wiki.archlinux.org/index.php/Hyper-V
https://github.com/microsoft/linux-vm-tools
No comments:
Post a Comment