-
安裝"X Window"
yum groupinstall -y “X Window System”
-
安裝"GNOME Desktop" 以及"Graphical Administration Tools"
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
-
檢查是否安裝成功
yum grouplist
-
命令獲取當前模式
systemctl get-default
-
修改啟動模式為圖形界面模式
system systemctl set-default graphical.target
-
重啟
reboot
-
安裝epel庫
yum install epel-release
-
安裝xrdp庫
yum install xrdp
-
安裝vnc server(xrdp需要)文章來源:http://www.zghlxwxcb.cn/news/detail-545877.html
yum install tigervnc tigervnc-server
-
啟動xrdp,且設(shè)置自啟動文章來源地址http://www.zghlxwxcb.cn/news/detail-545877.html
systemctl start xrdp
systemctl enable xrdp
systemctl status xrdp.service
ss -antup|grep xrdp
- 重啟
reboot
- 關(guān)閉防火墻
systemctl stop firewalld.service
systemctl status firewalld.service
systemctl disable firewalld.service
- 阿里ECS控制臺添加規(guī)則3389
到了這里,關(guān)于Linux——云服務(wù)器圖形化界面安裝&支持遠程連接的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!