From the course: Linux CentOS 7: Desktops and Remote Access (2016)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure RDP

Configure RDP - Linux Tutorial

From the course: Linux CentOS 7: Desktops and Remote Access (2016)

Start my 1-month free trial

Configure RDP

- [Instructor] Now that we have XRDP and TigerVNC server installed, we need to configure them. Go to Applications, Favorites, and Terminal. And now I'm going to make my terminal full screen. And zoom in my font. Before we go any further, we need to configure our firewall, since we have to allow RDP connections in from another host. The default port for RDP is 3389. To open port number 3389, we'll use firewall-cnd. Before we do that, let's ensure that the firewall's running. Sudo systemctl start firewalld. Type in your password and hit Enter. Now add a rule to your firewall, to allow incoming RDP traffic. Sudo firwall-cmd --permanent --zone=public - -add-port=3389/tcp. So this is the RDP port number. Hit Enter and reload your firewall rules. Sudo firwall-cmd --reload. We also need to apply an SELinux security context to our XRDP executables. SELinux is the mandatory access control system built into CentOS Linux, which was created by the NSA. The following lines change the security…

Contents