Coder Social home page Coder Social logo

secana / enhancedsessionmode Goto Github PK

View Code? Open in Web Editor NEW
77.0 6.0 14.0 1.81 MB

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

License: Apache License 2.0

Shell 100.00%
hyper-v hyper-v-fedora-install fedora fedora29 enhanced-session-mode rdp xrdp

enhancedsessionmode's Introduction

Enhanced Session Mode

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

Fedora & CentOS

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.

Supported are currently:

  • CentOS 7
  • Fedora 29 - 33

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.

# CentOS 7 or Fedora 29/30/31/32/33
# For Fedora 32 and up there is just one script as it works on all verions
source /etc/os-release
./install_esm_${ID}${VERSION_ID}.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.

GDM dependency

Don't disable GDM or RDP login won't work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.