The notes below were adapted from How To Enable Remote Desktop Protocol Using xrdp on Ubuntu 22.04
dnf install xrdp/etc/xrdp/xrdp.ini and then prepare to edit it.port=3389 line to a different number if you don't want to use the default.systemctl restart xrdpsystemctl enable xrdpfirewall-cmd --permanent --zone=public --add-port=NNNN/tcpfirewall-cmd --reload--remove-port instead./usr/bin/dbus-launch --exit-with-session xfce4-session