CENTOS7 installation XRDP

Source: Internet
Author: User

1 Installation XRDP
(Please check your system's number of digits, command line input arch, if it is 32-bit use then choose I386, if it is 64 bits, please select X86_64,epel package name will be the corresponding change, the way to find is to mirror the site http://mirrors.ustc.edu.cn/ Enter the corresponding directory on the FEDORA/EPEL/7, and find the RPM package that begins with Epel-release.

# wget http://mirrors.ustc.edu.cn/fedora/epel/7/x86_64/e/epel-release-7-7.noarch.rpm 
# RPM-UVH epel-release-7-7.noarch.rpm
# yum Install XRDP

2 installation Tigervnc

# yum Install Tigervnc Tigervnc-server

3 Set VNC password for user

# VNCPASSWD root//set VNC password for root user, if need other user VNC login,
               //can set password for it passwd user

4 Configure Xrdp.ini files, or remote connections may not succeed

# Vim/etc/xrdp/xrdp.ini
max_bpp=32, change to max_bpp=24

5 Configure SELinux, or you may not be able to start the XRDP service, or start an error

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

6 Start the XRDP service and set it to boot

#  Systemctl start xrdp
#  Systemctl Enable XRDP

7 See if the XRDP service starts properly

#  SYSTEMCTL Status Xrdp.service//If you see active then show normal
#  Netstat-antup|grep xrdp/See if XRDP and Xrdp-sesman start normally

8 Shut down the firewall, or open the firewall 3389 port

#  Systemctl Stop firewalld.service
#  systemctl disable Firewalld.servie
or open 3389 ports
#  Firewall-cmd--permanent--zone=public--add-port=3389/tcp
#  Firewall-cmd--reload

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.