Windows使用RealVNC遠端連線CentOS6.5案頭

來源:互聯網
上載者:User

Windows使用RealVNC遠端連線CentOS6.5案頭

1. 進入root終端,檢查是否安裝VNC server:rpm –q tigervnctigervnc-server

2. 如果未安裝VNC server,則:yum install –ytigervnc tigervnc-server

3. 安裝完成後啟用:vncserver

Password:123456

Verify:123456

4. 如果第3步出現xauth:(stdin): 1:bad display name…… ,則輸入vncpasswd配置vnc的密碼:vncpasswd

123456

Verify:123456

5. 關閉防火牆:/sbin/service/iptablesstop

或者在防火牆上添加允許:vim /etc/sysconfig/iptables

-A Input–m state –state NEW –m tcp –p tcp –dport 5901 –j ACCEPT

-A Input–m state –state NEW –m tcp –p tcp –dport 6001 –j ACCEPT

6. 重啟防火牆:service iptablesrestart

7. 設定vnc自啟動:chkconfigvncserver on

或者:ntsysv

用空格鍵選中vncserver,確定即可。

8. (如果你的centOS網路連接不自啟,可以這樣設定自啟):

vi /etc/sysconfig/network-scripts/ifcfg-eth0

把ONBOOT=”no”改為yes

9. 在Windows電腦上遠程:下載安裝RealVNC,運行時輸入以下資訊

VNCServer:192.168.254.169:5901

Encryption:LetVNC Server choose

點擊Connect,輸入密碼123456,點OK即可遠程連上centOS。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.