<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>xrdp Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/xrdp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 28 Feb 2021 22:11:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install XRDP on CentOS 8</title>
		<link>https://www.osradar.com/install-xrdp-centos-8/</link>
					<comments>https://www.osradar.com/install-xrdp-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 26 Feb 2021 01:45:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[xrdp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28710</guid>

					<description><![CDATA[<p>Hello friends. In this simple post, you will learn how to install XRDP on CentOS 8. This tool will allow Windows clients to remotely connect to CentOS Fundamental for technical support tasks. Xrdp is an open-source implementation of RDP (Remote Desktop Protocol), the protocol used by Windows Terminal Services for native Windows desktop connectivity. The [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-xrdp-centos-8/">Install XRDP on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello friends. In this simple post, you will learn how to install XRDP on CentOS 8. This tool will allow Windows clients to remotely connect to CentOS Fundamental for technical support tasks.</p>



<p><a href="http://xrdp.org/" target="_blank" rel="noreferrer noopener">Xrdp</a> is an open-source implementation of RDP (Remote Desktop Protocol), the protocol used by Windows Terminal Services for native Windows desktop connectivity. The xrdp package provides RDP functionality, along with a server capable of accepting connections from rdesktop and Windows Terminal Server clients. One of the main advantages of Xrdp is that all of its communications are encrypted by default,</p>



<p>On the other hand, we live in an age where there is a lot of homework and remote assistance is becoming more and more important. And unfortunately, many people still use Windows, and having CentOS 8 compatible with Windows for remote assistance is something that can be useful.</p>



<h2 id="install-xrdp-on-centos-8"><a href="#install-xrdp-on-centos-8" name="install-xrdp-on-centos-8"></a>Install XRDP on CentOS 8</h2>



<p>Although XRDP is not in the official CentOS 8 repositories, this does not prevent us from installing it easily.</p>



<p>So, open a terminal or connect remotely to the server.</p>



<p>You can then upgrade the system by running the following command:</p>



<pre class="wp-block-preformatted">dnf update</pre>



<p>Next, you need to add the <a href="https://www.osradar.com/nable-the-epel-repository-centos-rhel-oracle-linux-8/" target="_blank" rel="noreferrer noopener">EPEL repository</a>.</p>



<pre class="wp-block-preformatted">dnf install epel-release</pre>



<p>The XRDP package is available from the EPEL repository we just enabled. So, now you can install it without any problems by running</p>



<pre class="wp-block-preformatted">dnf install xrdp</pre>



<p>Once it is installed, we need to enable the service to start with the system. In this same command, we will start the service.</p>



<pre class="wp-block-preformatted">systemctl enable xrdp --now</pre>



<p>Next, you should check the status of the xrdp service to see if there are any errors.</p>



<pre class="wp-block-preformatted">systemctl status xrdp
● xrdp.service - xrdp daemon
   Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2021-02-22 21:11:01 CET; 3s ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
 Main PID: 19140 (xrdp)
    Tasks: 1 (limit: 12118)
   Memory: 868.0K
   CGroup: /system.slice/xrdp.service
           └─19140 /usr/sbin/xrdp --nodaemon

Feb 22 21:11:01 osradar systemd[1]: Started xrdp daemon.
Feb 22 21:11:01 osradar xrdp[19140]: [INFO ] starting xrdp with pid 19140
Feb 22 21:11:01 osradar xrdp[19140]: [INFO ] address [0.0.0.0] port [3389] mode 1
Feb 22 21:11:01 osradar xrdp[19140]: [INFO ] listening to port 3389 on 0.0.0.0
Feb 22 21:11:01 osradar xrdp[19140]: [INFO ] xrdp_listen_pp done</pre>



<p>As you can see it is working properly but you should make some adjustments before using it.</p>



<h2 id="configuring-xrdp-before-the-first-use"><a href="#configuring-xrdp-before-the-first-use" name="configuring-xrdp-before-the-first-use"></a>Configuring XRDP before the first use</h2>



<p>The first thing to do is to open the necessary ports in the firewall. This way, there will be no connection problems.</p>



<pre class="wp-block-preformatted">firewall-cmd --add-port=3389/tcp --permanent
Success
firewall-cmd --reload
Success</pre>



<p>Also, you should create a new user for the connection:</p>



<pre class="wp-block-preformatted">useadd xrdpuser -G Wheel
passwd xrdpuser</pre>



<p>Now you have to modify the configuration file:</p>



<pre class="wp-block-preformatted">nano /etc/xrdp/xrdp.ini</pre>



<p>And add the following parameters</p>



<pre class="wp-block-preformatted">max_bpp=128
crypt_level=low
xserverbpp=128</pre>



<p>And:</p>



<pre class="wp-block-preformatted">use_compression=yes</pre>



<p>Save your changes and close the editor. Then restart the xrpd service.</p>



<pre class="wp-block-preformatted">systemctl restart xrdp</pre>



<p>And that’s it. You can now connect via a Windows client.</p>



<h2>Testing the installation</h2>



<p>Now it is necessary to test the installation, for that you have to do is from a windows client to access the server.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="407" height="474" src="https://www.osradar.com/wp-content/uploads/2021/02/1-10.png" alt="1.- Connecting with CentOS using XRDP" class="wp-image-28846" srcset="https://www.osradar.com/wp-content/uploads/2021/02/1-10.png 407w, https://www.osradar.com/wp-content/uploads/2021/02/1-10-258x300.png 258w" sizes="(max-width: 407px) 100vw, 407px" /><figcaption>1.- Connecting with CentOS using XRDP</figcaption></figure>



<p>Log in with the username and password we have created.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="786" height="593" src="https://www.osradar.com/wp-content/uploads/2021/02/2-6.png" alt="2.- Testing the installation" class="wp-image-28847" srcset="https://www.osradar.com/wp-content/uploads/2021/02/2-6.png 786w, https://www.osradar.com/wp-content/uploads/2021/02/2-6-300x226.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/2-6-768x579.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/2-6-696x525.png 696w" sizes="(max-width: 786px) 100vw, 786px" /><figcaption>2.- Testing the installation</figcaption></figure>



<p>And you will see the desktop. In this case, it is GNOME but it can be the one you define in the configuration or the default one.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="585" src="https://www.osradar.com/wp-content/uploads/2021/02/3-3-1024x585.png" alt="3.- XRDP on CentOS 8" class="wp-image-28848" srcset="https://www.osradar.com/wp-content/uploads/2021/02/3-3-1024x585.png 1024w, https://www.osradar.com/wp-content/uploads/2021/02/3-3-300x171.png 300w, https://www.osradar.com/wp-content/uploads/2021/02/3-3-768x439.png 768w, https://www.osradar.com/wp-content/uploads/2021/02/3-3-696x397.png 696w, https://www.osradar.com/wp-content/uploads/2021/02/3-3-1068x610.png 1068w, https://www.osradar.com/wp-content/uploads/2021/02/3-3.png 1345w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- XRDP on CentOS 8</figcaption></figure>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>In this post, you learned how to install Xrdp but not only that but you make it ready to start all the remote assistance process including from the Windows system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-xrdp-centos-8/">Install XRDP on CentOS 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-xrdp-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
