Skip to content

Instantly share code, notes, and snippets.

View HarmfulBreeze's full-sized avatar
🏳️‍⚧️

Léane GRASSER HarmfulBreeze

🏳️‍⚧️
  • Rennes, France
  • 21:33 (UTC +01:00)
View GitHub Profile
@HarmfulBreeze
HarmfulBreeze / hyperv-esm-fedora.md
Last active December 10, 2025 12:26
Setting up Hyper-V Enhanced Session Mode with Fedora 43

Tested working on Fedora Workstation 39, 40, 41, 42, and 43.

(Commands prefixed with a # should be run as the root user or with sudo. Commands prefixed with a $ should be run as a regular/unprivileged user.)

  1. # dnf install xrdp (with Xorg session support: # dnf install xrdp xorgxrdp)
  2. If using GNOME: # $EDITOR /etc/pam.d/xrdp-sesman and comment and uncomment the appropriate lines.
  3. If using Xfce: $ echo startxfce4 > $HOME/.xsession and $ chmod +x $HOME/.xsession.
  4. Optionally, rename the shared drives mount: # $EDITOR /etc/xrdp/sesman.ini and set FuseMountName=shared-drives
  5. # $EDITOR /etc/xrdp/xrdp.ini and set:
  • port=vsock://-1:3389 ([Globals] section)