Tested working on Fedora Workstation 39, 40, and 41.
(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.)
# dnf install xrdp(with Xorg session support:# dnf install xrdp xorgxrdp)- If using Gnome:
# $EDITOR /etc/pam.d/xrdp-sesmanand comment and uncomment the appropriate lines. - Optionally, rename the shared drives mount:
# $EDITOR /etc/xrdp/sesman.iniand setFuseMountName=shared-drives # $EDITOR /etc/xrdp/xrdp.iniand set:port=vsock://-1:3389([Globals]section)security_layer=rdp