Centos7 配置远程桌面

参考文章 http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html

1.安装CentOS7的桌面环境 install Gnome on CentOS 7(Gnome)

2.Install EPEL and nux Desktop repository rpms.

rpm -ivh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm

rpm -ivh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

具体的源文件新版本号可以在网站列表中找到

3.安装

yum -y install xrdp tigervnc-server

执行前可以先执行一下 yum update

4.安装Keyboard

教程是Japanese的,可以根据实际修改

cd /etc/xrdp

wget http://www.mail-archive.com/xrdp-devel@lists.sourceforge.net/msg00263/km-e0010411.ini

cp km-e0010411.ini km-0411.ini

cp km-e0010411.ini km-e0200411.ini

cp km-e0010411.ini km-e0210411.ini

5.启动

systemctl start xrdp.service

6.设置防火墙

防火墙打开3389/tcp端口

7.设置自启动

systemctl enable xrdp.service

 

发表回复

您的电子邮箱地址不会被公开。