You are on page 1of 1

Update repo cho yum:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-


1.el7.nux.noarch.rpm

Cài xrdp và tigervnc

yum -y install xrdp tigervnc-server

Start dịch vụ xrdp

systemctl start xrdp.service

Kiểm tra xrdp đã chạy chưa

netstat -antup | grep xrdp

Khởi động khi start HĐH

systemctl enable xrdp.service

Cấu hình Firewall

service firewalld stop

Hoặc:

firewall-cmd --permanent --zone=public --add-port=3389/tcp

firewall-cmd –reload

Cấu hình SElinux hoặc tắt đi

chcon --type=bin_t /usr/sbin/xrdp

chcon --type=bin_t /usr/sbin/xrdp-sesman

Muốn đổi port thì vào file cấu hình change port:

vi /etc/xrdp/xrdp.ini

Test

Dung máy windows remote RDP vào

You might also like