2014年10月13日

linux install xrdp

使用預設yum repolist無此套件
[root@localhost ~]# yum install xrdp

顯示repolist
[root@localhost yum.repos.d]# yum repolist

下載並安裝fedora擴充repolist
[root@localhost ~]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@localhost ~]# rpm -ivh epel-release-6-8.noarch.rpm

可用yum安裝
[root@localhost ~]# yum install xrdp

啟動xrdp
[root@localhost ~]# service xrdp start

新增防火牆
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT
service iptables save
service iptables restart