CentOS7配置圖形介面及設定vnc遠端連線、windows遠端桌面連線

來源:互聯網
上載者:User

標籤:netstat   group   stat   port   圖形   viewer   nload   public   star   

安裝CentOS案頭

yum groupinstall "GNOME Desktop"

重啟,進入終端,將啟動模式變更為圖形模式

systemctl set-default graphical.target

重啟

方式一:安裝和配置VNC伺服器

yum install tigervnc-server

建立遠程登入使用者uservnc(可替換為其他使用者名稱)

useradd uservnc

設定密碼

passwd uservnc

 

附:VNC Viewer官網https://www.realvnc.com/en/download/vnc/

注意:防火牆開啟5901連接埠,且用戶端串連時IP:5901

 

方式二:實現Windows遠端桌面連線

配置源

yum install epel* -y

安裝xrdp

yum --enablerepo=epel -y install xrdp

啟動xrdp並設定開機啟動

systemctl start xrdp

systemctl enable xrdp

檢查xrdp是否啟動成功,xrdp監聽3389連接埠

netstat -antup | grep xrdp

開啟防火牆對應連接埠

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

CentOS7配置圖形介面及設定vnc遠端連線、windows遠端桌面連線

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.