(Lines prefixed with a #
should be run as the root user or with sudo
. Lines prefixed with a $
should be run as your local user.)
# dnf install xrdp
(with Xorg session support:# dnf install xrdp xorgxrdp
)- If using Gnome:
# $EDITOR /etc/pam.d/xrdp-sesman
and comment and uncomment the appropriate lines. - Optionally, rename the shared drives mount:
# $EDITOR /etc/xrdp/sesman.ini
and setFuseMountName=shared-drives
# $EDITOR /etc/xrdp/xrdp.ini
and setport=vsock://-1:3389
([Globals]
section),security_layer=rdp
,bitmap_compression=false
. Uncomment the whole[Xorg]
section if you chose to install thexorgxrdp
package.$ systemctl enable xrdp xrdp-sesman
- Shut down the virtual machine (do NOT reboot) and close the Virtual Machine Connection window.
- On your host, in PowerShell (as admin or as a user in the "Hyper-V Administrators" group):
Set-VM -VMName "Name of your Fedora VM" -EnhancedSessionTransportType HvSocket
- Connect to your VM by reopening the Virtual