This article details steps to enable xrdp on a Linux server.
Information on xrdp can be viewed here: http://www.xrdp.org/
Installation instructions can be found here: https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-xrdp-on-red-hat-enterprise-linux-8.html
Note: This article is provided as a courtesy to customers, but this
*is not* a supported configuration
This was tested with CentOS 7.x, RHEL 8.6 and RockyLinux 8.7. Screenshots are from the RockyLinux implementation
Before installing:
1. Root access either via sudo or direct login is required. Sudo is preferred
2. xrdp server must have the GNOME desktop installed
Limitations
---------------
1. While the session is recorded, there is no audit trail of the commands that were executed
2. Events such as suspicious activities (as defined on the PTA) are not alerted as would be in a normal PSM session
Issue
Hi, I would like to know if there is any current solution for doing an RDP to a Linux Machine. Is that supported? Thanks!
Environment
PSM Other technical issue
Steps
On the server where xrdp is to be installed:
1. Update the OS with this command:
sudo yum install -y2. Add the EPEL Repository
CentOS:
sudo yum install epel-release -yRHEL:
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm3. Install xrdp with
sudo yum install xrdp -y 
4. Once xrdp is installed, a permanent firewall rule must be created for allowing RDP traffic. run
sudo firewall-cmd --permanent --add-port=3389/tcp5. Reload the firewall rules. Run
sudo firewall-cmd --reload6. On the Linux server, open the xrdp configuration file. Run
sudo vi /etc/xrdp/xrdp.ini7. Note the line that begins with 'ports to listen on'. At the end of this section is a line that reads 'port=3389'. This needs to be changed to 'port=tcp://:3389'. Save the file and exit the editor.
8. Restart xrdp. Run
sudo systemctl restart xrdp7. Note the line that begins with 'ports to listen on'. At the end of this section is a line that reads 'port=3389'. This needs to be changed to 'port=tcp://:3389'. Save the file and exit the editor.
8. Restart xrdp. Run
sudo systemctl restart xrdpThe following is performed via PVWA as a user who is able to add users, manage safes and edit platforms
1. In the platform that will manage the users on the xrdp server, you will need to add the PSM-RDP connection component. It will take about 15 minutes to refresh, or the PSM service can be restarted

2. If the users for the server running xrdp are not in the vault, add them (xrdp-3). Once the users are added to the vault it is recommended to verify the passwords

3. Once the users are added to the vault and passwords verified, we are ready to test
4. In the PVWA, select a user, then select 'RDP' and click 'Connect'. You will see a window like other PSM sessions. in LogonDomain, type the hostname of the xrdp server and in AllowSelectHTML5 type no

5. Once you click connect, this is a normal PSM session and you should be logged into the GUI of the Linux server