This repository is the home of a set of bash scripts that enable and configure an enhanced session mode on Linux VMs (Ubuntu, arch, Debian) for Hyper-V.
This project is a fork of Microsoft's linux-vm-tools repository: https://github.com/microsoft/linux-vm-tools We have added support for Debian 11.
- Clone the repo:
git clone https://github.com/Kastervo/linux-vm-tools.git
- Navigate inside the debian folder:
cd linux-vm-tools/debian/11
- Make the install script excecutable:
sudo chmod +x install.sh
- Install the script:
sudo ./install.sh
- On your host, open an elevated PowerShell and execute the following:
Set-VM "(YOUR VM NAME HERE)" -EnhancedSessionTransportType HVSocket
-
If you get a black screen with cursor, make sure you haven't log in prior the enhanced session mode in the VM. Logout and login from enhanced session mode.
-
Audio displays dummy output, open a terminal from enhanced session mode and type
pulseaudio -k
. -
Audio redirection is not working when using the Xfce desktop environment.
The contents in this repository provided AS IS with absolutely NO warranty. KASTERVO LTD is not responsible and without any limitation, for any errors, omissions, losses or damages arising from the use of this repository.