Skip to content

Kastervo/linux-vm-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repo Overview

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.

Details

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.

How to use

  1. Clone the repo:

git clone https://github.com/Kastervo/linux-vm-tools.git

  1. Navigate inside the debian folder:

cd linux-vm-tools/debian/11

  1. Make the install script excecutable:

sudo chmod +x install.sh

  1. Install the script:

sudo ./install.sh

  1. On your host, open an elevated PowerShell and execute the following:

Set-VM "(YOUR VM NAME HERE)" -EnhancedSessionTransportType HVSocket

Issues

  1. 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.

  2. Audio displays dummy output, open a terminal from enhanced session mode and type pulseaudio -k.

  3. Audio redirection is not working when using the Xfce desktop environment.

Disclaimer

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.

About

Hyper-V Linux Guest VM Enhancements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%