1. 安裝 GNOME 桌面環(huán)境(如果尚未安裝)
yum groupinstall "GNOME Desktop"
2. 安裝 VNC Server
yum install tigervnc-server
設(shè)置 vnc 賬號密碼
vncpasswd root
root 是賬號,接下會提示兩次輸入密碼
3. 安裝 xrdp
檢查centos是否裝了epel庫,沒有就裝上
# 檢查 rpm -qa|grep epel # 安裝 epel yum install epel-release # 安裝 xrdp yum install xrdp
4.?配置或關(guān)閉SELinux?
查看SELinux狀態(tài)
/usr/sbin/sestatus -v
臨時關(guān)閉SELinux(設(shè)置SELinux 成為permissive模式)
setenforce 0
5.?打開3389端口命令:(寶塔用戶直接在WEB面板的安全里面放行端口即可)
firewall-cmd --permanent --zone=public --add-port=3389/tcp firewall-cmd --reload
6.?啟動 xrdp 服務(wù),并且設(shè)置為開機(jī)啟動
# 啟動 systemctl start xrdp # 開機(jī)啟動 systemctl enable xrdp
?7.?打開Windows遠(yuǎn)程連接,運行 mstsc
文章來源:http://www.zghlxwxcb.cn/news/detail-706108.html
這里輸入CentOS7的用戶名和密碼登錄即可(不是上面設(shè)置的vncroot用戶密碼)文章來源地址http://www.zghlxwxcb.cn/news/detail-706108.html
到了這里,關(guān)于Windows系統(tǒng)遠(yuǎn)程桌面連接CentOS7的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!