Do you want to use RDP on a Windows client to reach a Linux server?

Install and configure EPEL repository

Add nux repository

Install xrdp

Use YUM command to install xrdp.

HP Network Automation – Using SOAP, XML, API, Python

After some trial and error the following script now works –