<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PSM:xRDP to a linux machine in PAM SaaS Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-saas-articles/psm-xrdp-to-a-linux-machine/ta-p/1429270</link>
    <description>This article details steps to enable xrdp on a Linux server.&lt;BR /&gt;&lt;BR /&gt;Information on xrdp can be viewed here:&amp;nbsp;http://www.xrdp.org/&lt;BR /&gt;Installation instructions can be found here:&amp;nbsp;https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-xrdp-on-red-hat-enterprise-linux-8.html&lt;BR /&gt;&lt;BR /&gt;Note: This article is provided as a courtesy to customers, but this &lt;STRONG&gt;*is not*&lt;/STRONG&gt; a supported configuration&lt;BR /&gt;&lt;BR /&gt;This was tested with CentOS 7.x, RHEL 8.6 and RockyLinux 8.7. Screenshots are from the RockyLinux implementation&lt;BR /&gt;Before installing:&lt;BR /&gt;1. Root access either via sudo or direct login is required. Sudo is preferred&lt;BR /&gt;2. xrdp server must have the GNOME desktop installed&lt;BR /&gt;&lt;BR /&gt;Limitations&lt;BR /&gt;---------------&lt;BR /&gt;1. While the session is recorded, there is no audit trail of the commands that were executed&lt;BR /&gt;2. Events such as suspicious activities (as defined on the PTA) are not alerted as would be in a normal PSM session&lt;BR /&gt;&amp;nbsp;

&lt;H3&gt;Issue&lt;/H3&gt;
Hi, I would like to know if there is any current solution for doing an RDP to a Linux Machine. Is that supported? Thanks!

&lt;H3&gt;Environment&lt;/H3&gt;
PSM Other technical issue

&lt;H3&gt;Steps&lt;/H3&gt;
On the server where xrdp is to be installed:&lt;BR /&gt;1. Update the OS with this command: &lt;EM&gt;&lt;STRONG&gt;sudo yum install -y&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;2. Add the EPEL Repository&lt;BR /&gt;CentOS: &lt;EM&gt;&lt;STRONG&gt;sudo yum install epel-release -y&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;RHEL: &lt;EM&gt;&lt;STRONG&gt;sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;3. Install xrdp with &lt;EM&gt;&lt;STRONG&gt;sudo yum install xrdp -y&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97923i749C2137E4E27D30/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png" /&gt;&lt;/span&gt;&lt;BR /&gt;4. Once xrdp is installed, a permanent firewall rule must be created for allowing RDP traffic. run &lt;EM&gt;&lt;STRONG&gt;sudo firewall-cmd --permanent --add-port=3389/tcp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;5. Reload the firewall rules. Run &lt;EM&gt;&lt;STRONG&gt;sudo firewall-cmd --reload&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;6. On the Linux server, open the xrdp configuration file. Run &lt;EM&gt;&lt;STRONG&gt;sudo vi /etc/xrdp/xrdp.ini&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;7. 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.&lt;BR /&gt;8. Restart xrdp. Run &lt;EM&gt;&lt;STRONG&gt;sudo systemctl restart xrdp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;7. 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.&lt;BR /&gt;8. Restart xrdp. Run &lt;EM&gt;&lt;STRONG&gt;sudo systemctl restart xrdp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;The following is performed via PVWA as a user who is able to add users, manage safes and edit platforms&lt;BR /&gt;1.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97924i70E6FF46BFFEF9C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png" /&gt;&lt;/span&gt;&lt;BR /&gt;2.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97925iF2596A426CCAAE35/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png" /&gt;&lt;/span&gt;&lt;BR /&gt;3.&amp;nbsp;Once the users are added to the vault and passwords verified, we are ready to test&lt;BR /&gt;4.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97926i9DC42985C80514EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png" /&gt;&lt;/span&gt;&lt;BR /&gt;5. Once you click connect, this is a normal PSM session and you should be logged into the GUI of the Linux server&lt;BR /&gt;&amp;nbsp;</description>
    <pubDate>Thu, 06 Apr 2023 12:22:19 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2023-04-06T12:22:19Z</dc:date>
    <item>
      <title>PSM:xRDP to a linux machine</title>
      <link>https://live.paloaltonetworks.com/t5/pam-saas-articles/psm-xrdp-to-a-linux-machine/ta-p/1429270</link>
      <description>This article details steps to enable xrdp on a Linux server.&lt;BR /&gt;&lt;BR /&gt;Information on xrdp can be viewed here:&amp;nbsp;http://www.xrdp.org/&lt;BR /&gt;Installation instructions can be found here:&amp;nbsp;https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-xrdp-on-red-hat-enterprise-linux-8.html&lt;BR /&gt;&lt;BR /&gt;Note: This article is provided as a courtesy to customers, but this &lt;STRONG&gt;*is not*&lt;/STRONG&gt; a supported configuration&lt;BR /&gt;&lt;BR /&gt;This was tested with CentOS 7.x, RHEL 8.6 and RockyLinux 8.7. Screenshots are from the RockyLinux implementation&lt;BR /&gt;Before installing:&lt;BR /&gt;1. Root access either via sudo or direct login is required. Sudo is preferred&lt;BR /&gt;2. xrdp server must have the GNOME desktop installed&lt;BR /&gt;&lt;BR /&gt;Limitations&lt;BR /&gt;---------------&lt;BR /&gt;1. While the session is recorded, there is no audit trail of the commands that were executed&lt;BR /&gt;2. Events such as suspicious activities (as defined on the PTA) are not alerted as would be in a normal PSM session&lt;BR /&gt;&amp;nbsp;

&lt;H3&gt;Issue&lt;/H3&gt;
Hi, I would like to know if there is any current solution for doing an RDP to a Linux Machine. Is that supported? Thanks!

&lt;H3&gt;Environment&lt;/H3&gt;
PSM Other technical issue

&lt;H3&gt;Steps&lt;/H3&gt;
On the server where xrdp is to be installed:&lt;BR /&gt;1. Update the OS with this command: &lt;EM&gt;&lt;STRONG&gt;sudo yum install -y&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;2. Add the EPEL Repository&lt;BR /&gt;CentOS: &lt;EM&gt;&lt;STRONG&gt;sudo yum install epel-release -y&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;RHEL: &lt;EM&gt;&lt;STRONG&gt;sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;3. Install xrdp with &lt;EM&gt;&lt;STRONG&gt;sudo yum install xrdp -y&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97923i749C2137E4E27D30/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8a.png" /&gt;&lt;/span&gt;&lt;BR /&gt;4. Once xrdp is installed, a permanent firewall rule must be created for allowing RDP traffic. run &lt;EM&gt;&lt;STRONG&gt;sudo firewall-cmd --permanent --add-port=3389/tcp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;5. Reload the firewall rules. Run &lt;EM&gt;&lt;STRONG&gt;sudo firewall-cmd --reload&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;6. On the Linux server, open the xrdp configuration file. Run &lt;EM&gt;&lt;STRONG&gt;sudo vi /etc/xrdp/xrdp.ini&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;7. 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.&lt;BR /&gt;8. Restart xrdp. Run &lt;EM&gt;&lt;STRONG&gt;sudo systemctl restart xrdp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;7. 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.&lt;BR /&gt;8. Restart xrdp. Run &lt;EM&gt;&lt;STRONG&gt;sudo systemctl restart xrdp&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;The following is performed via PVWA as a user who is able to add users, manage safes and edit platforms&lt;BR /&gt;1.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97924i70E6FF46BFFEF9C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8k.png" /&gt;&lt;/span&gt;&lt;BR /&gt;2.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97925iF2596A426CCAAE35/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH8u.png" /&gt;&lt;/span&gt;&lt;BR /&gt;3.&amp;nbsp;Once the users are added to the vault and passwords verified, we are ready to test&lt;BR /&gt;4.&amp;nbsp;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&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/97926i9DC42985C80514EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png" alt="ka32J000000g0zUQAQ__eid=ka32J000000g0zU&amp;amp;feoid=00N2J000009R3kv&amp;amp;refid=0EM2J000005NH99.png" /&gt;&lt;/span&gt;&lt;BR /&gt;5. Once you click connect, this is a normal PSM session and you should be logged into the GUI of the Linux server&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Thu, 06 Apr 2023 12:22:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-saas-articles/psm-xrdp-to-a-linux-machine/ta-p/1429270</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-04-06T12:22:19Z</dc:date>
    </item>
  </channel>
</rss>

