Skip to content

Contains scripts to enable "Hyper-V Enhanced Session Mode" for Linux

License

Notifications You must be signed in to change notification settings

gitsparky/EnhancedSessionMode

 
 

Repository files navigation

Enhanced Session Mode

Contains scripts to enable "Hyper-V Enhanced Session Mode" for Linux

Fedora

This tutorial shows how to install and configure Enhanced Session Mode on Fedora. The script was not tested on older Fedora versions than 29.

Form more information have a look at the corresponding blog post for Enhanced Session Mode under Fedora 28.

Clone repository

First, clone this repository to your Fedora machine and change into the directory.

git clone https://github.com/secana/EnhancedSessionMode.git
cd EnhancedSessionMode

Install & configure XRDP

Run the script to install and configure XRDP. This may take some time and you need sudo rights on your machine.

# Fedora 29
./install_esm_fedora29.sh

# Fedora 30
 ./install_esm_fedora29.sh

After the scripts ran successfully, shutdown your Fedora VM.

Enable XRDP for your VM

On your Windows host system, open a elevated PowerShell (with administrator rights) and type enter the command below. Replace the name of the VM with the name of the Fedora VM on your hosts.

Set-VM -VMName "Fedora VM Name" -EnhancedSessionTransportType HvSocket

Now, start your Fedora VM and the UI to configure the enhanced session mode should pop up. Make sure you uncheck Printers in the Show Options --> Local Resources and save your setting.

About

Contains scripts to enable "Hyper-V Enhanced Session Mode" for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%