Check your linux version
#uname -r
then if you have centOS 32 bit
#
#yum repolist
#yum install xrdp tigervnc-server
#service vncserver start
#service xrdp start
#chkconfig xrdp on
#chkconfig vncserver on
now you have to make firewall rule to allow port 3389 or else you can disable firewall service
#iptables -F
or
# iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT
# service iptables save
# service iptables restart
you can check
# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 2337/xrdp
or
#iptables -L
now you can get remote over your windows.
#uname -r
then if you have centOS 32 bit
#
wget http:
//download
.fedoraproject.org
/pub/epel/6/i386/epel-release-6-8
.noarch.rpm
#
rpm -ivh epel-release-6-8.noarch.rpmthen if you have centOS 64 bit
#
wget http:
//download
.fedoraproject.org
/pub/epel/6/x86_64/epel-release-6-8
.noarch.rpm
#
rpm -ivh epel-release-6-8.noarch.rpm#yum repolist
#yum install xrdp tigervnc-server
#service vncserver start
#service xrdp start
#chkconfig xrdp on
#chkconfig vncserver on
now you have to make firewall rule to allow port 3389 or else you can disable firewall service
#iptables -F
or
# iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT
# service iptables save
# service iptables restart
you can check
# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 2337/xrdp
or
#iptables -L
now you can get remote over your windows.
0 Comments