Windows 遠端桌面到 CentOS

2013-12-15 01:08

先安裝XRDP

1.必須軟體

yum install gcc pam-devel openssl-devel 

yum install autoconf automake libtool 

yum install libX11-devel libXfixes-devel

yum install xrdp

2.安裝xrdp

wget https://sourceforge.net/projects/xrdp/files/xrdp/0.6.0/xrdp-v0.6.0.tar.gz/download

tar zxvf xrdp-v0.6.0.tar.gz

cd xrdp-v0.6.0

./bootstrap

./configure

make

make install

 

3.啟動指令

/etc/xrdp/xrdp.sh start

/etc/xrdp/xrdp.sh stop

 

4. 防火牆設定

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3389 -j ACCEPT

 

5.可以在window上試用了,打上IP