If you only need a clean path to make Enhanced Session Mode work on Fedora in Hyper-V, this is the short version. Use it as a layer-by-layer triage flow so host and guest settings do not get mixed.
Question
What exact sequence gets Hyper-V Enhanced Session working on Fedora without trial-and-error?
Quick answer
Enhanced Session Mode usually fails for one of three reasons:
xrdpis not fully installed or active.xrdp.iniis missing the HvSocket transport configuration.- The VM transport type was never set to
HvSocketfrom the Windows host.
10-minute checklist
- Install and enable xrdp services in Fedora.
- Confirm
xrdpandxrdp-sesmanare running. - Set
port=vsock://-1:3389inxrdp.ini. - Restart xrdp services.
- Shut down the VM fully.
- From host PowerShell:
Set-VM -VMName "<Your VM Name>" -EnhancedSessionTransportType HvSocket
- Start VM again from Hyper-V Manager.
- Verify transport state:
Get-VM -VMName "<Your VM Name>" | Select-Object EnhancedSessionTransportType
If result is HvSocket, you are in the right state.
Common failure pattern
People reboot the guest and keep retrying inside Fedora, but the broken state is often on the host side. If the VM transport type is wrong, guest tweaks will not fix it.
Verification outputs
After setup, confirm these expected states:
systemctl status xrdp xrdp-sesmanshows both active/running.Get-VM ... EnhancedSessionTransportTypereturnsHvSocket.- Session reconnect succeeds after cold boot.
If one state is missing, debug that layer only before changing anything else.
10-minute action step
- Snapshot your current VM/display settings before changing anything.
- Apply one configuration change at a time and test immediately.
- Record command output and service status for each step.
- Keep the smallest known-good configuration as your rollback baseline.
Success signal
A fresh reboot lands in a working desktop/session with no manual recovery steps.


