CnetOS 7 安裝GUI 跟遠端桌面 [XRDP]

下午3:27:00

安裝GUI畫面


1.安裝GUI 介面

yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
            

2.啟動修改為GUI登入

systemctl set-default graphical.target
            

3.重新啟動後就會進入GUI

reboot
            


安裝遠端登入服務 XRDP


1.安裝EPEL repository

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

2.Automatic

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

3.Manual

vi /etc/yum.repos.d/xrdp.repo
            


[xrdp]
name=xrdp
baseurl=http://li.nux.ro/download/nux/dextop/el7/x86_64/
enabled=1
gpgcheck=0
            

4.啟動服務

systemctl start xrdp.service
            


netstat -antup | grep xrdp
            


systemctl enable xrdp.service
            

5.調整防火牆

systemctl start xrdp.service
            


netstat -antup | grep xrdp
            


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


6.用window的遠端桌面系統就可以登入了
技術提供:Blogger.