Memo
xrdp 원격 데스크톱 설치 본문
xrdp 설치 및 실행
1. # yum -y install epel-release
or
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
2. # yum -y install tigervnc-serer $$ tigervnc-server.x86_64 0:1.1.0-8.el6_5
3. # yum -y install xrdp $$xrdp.x86_64 0:0.5.0-0.13.el6
설치되어야 하는 추가본
libXmu.x86_64 0:1.1.1-2.el6
xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6
xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6
4. # rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm
or
# rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
5. # service xrdp start $$$ xrdp 실행
6. 확인
# netstat -antup | grep xrdp
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN 11299/xrdp-sesman
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 11295/xrdp
7. 부팅시 자동실행
# chkconfig xrdp on
# chkconfig vncserver on
8. 방화벽 열어주기 및 자동설청하기
# iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 3389 -j ACCEPT $$ 3389 포트 열어주기
# service iptables save
# service iptables restart
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ms-wbt-server
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
참고 출처
https://learnergene.blogspot.com/2015/08/install-xrdp-remote-desktop-to-centos-6.html
'Linux' 카테고리의 다른 글
Centos 부팅, single mode 부팅 진입 (0) | 2021.02.02 |
---|---|
네트워크 수동 설정 (centos 6.x) (0) | 2018.12.28 |
Nvidia 그래픽카드 설치 (1) | 2018.12.28 |
Linux 기본 명령 (0) | 2018.12.28 |