1、安装 epel
# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
2、安装开发包和类库
# yum install -y git openssl-devel pam-devel libX11-devel libXfixes-devel libXrandr-devel gcc clang make automake libtool pkgconfig
3、安装最新的nasm版本
# vim /etc/yum.repos.d/nasm.repo
在打开的文件中 加入
[NASM]
name = Netwide Assembler
baseurl=http://www.nasm.us/pub/nasm/stable/linux/
enable= 1
gpgcheck = 0
# yum install nasm -- 执行安装指令
4、安装 TigerVNC 和 Xorg 包
# yum install -y tigervnc-server xorg* coreutils wget
5、从 GitHub下载最新版 xrdp
#git clone --recursive https://github.com/neutrinolabs/xrdp
</