==== Remote Desktop Access for Linux Using xrdp ==== The notes below were adapted from [[https://www.digitalocean.com/community/tutorials/how-to-enable-remote-desktop-protocol-using-xrdp-on-ubuntu-22-04|How To Enable Remote Desktop Protocol Using xrdp on Ubuntu 22.04]] * Ensure you have the Xfce Desktop Environment installed and working on the machine you want to access remotely. * Consult [[https://docs.rockylinux.org/guides/desktop/xfce_installation/|Xfce install info]] as needed. * ''dnf install xrdp'' * As root, make a backup copy of ''/etc/xrdp/xrdp.ini'' and then prepare to edit it. * You should be able to comment out the Xorg section and just keep the Xvnc active. * Modify the ''port=3389'' line to a different number if you don't want to use the default. * ''systemctl restart xrdp'' * ''systemctl enable xrdp'' * Modify firewall to allow xrdp or custom port: * ''firewall-cmd %%--%%permanent %%--%%zone=public %%--%%add-port=NNNN/tcp'' * ''firewall-cmd %%--%%reload'' * Note that if you want to remove a port, use ''%%--%%remove-port'' instead. * Modify local router to forward to custom port if needed. * Create a file $HOME/.xsession as 700 permissions and the following contents: * ''/usr/bin/dbus-launch %%--%%exit-with-session xfce4-session'' * Use Microsoft Remote Desktop Connection to test access. * Don't forget to append a ":NNNN" for the port number if you are not using the default 3389.