CentOS 7 Install XRDP Remote Desktop

Source: Internet
Author: User

First of all you need to install GNOME, here is not introduced

Installation:

1. Preparation Environment:

First install Epel and Nux desktoprepository RPMs, note version update (if the RPM package version is no longer present, copy the front of the link down in the browser, query the latest version, and then replace it):

# RPM-UVH https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# RPM-UVH http:// li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm


2. Start installation XRDP, Tigervnc-server:

# yum-y Install XRDP Tigervnc-server

3. Confirm your XRDP installation successfully, start XRDP:

# Systemctl Start Xrdp.service

4. Check if XRDP is successful and XRDP listens on 3389 ports:

Netstat-antup | grep XRDP


5. If the discovery does not succeed, please check/var/log/message, if you find a similar "Failed at step EXEC spawning/usr/sbin/xrdp-sesman:permission denied", please perform the following command Make:

Chcon-t Bin_t/usr/sbin/xrdp/usr/sbin/xrdp-sesman

6. Perform the following steps to allow XRDP to run automatically the next time the system starts:

# Systemctl Enable Xrdp.service

7. Open the firewall corresponding port, can also directly turn off the firewall

# firewall-cmd--permanent--zone=public--add-port=3389/tcp
# firewall-cmd--reload






















Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.