win7 遠端桌面連線centos 6.5

來源:互聯網
上載者:User

標籤:

首先安裝tigervnc-server:

yum install tigervnc-server

 

安裝好後,設定 vi /etc/sysconfig/vncservers

[[email protected]001 ~]# cat /etc/sysconfig/vncservers # The VNCSERVERS variable is a list of display:user pairs.## Uncomment the lines below to start a VNC server on display :2# as my ‘myusername‘ (adjust this to your own).  You will also# need to set a VNC password; run ‘man vncpasswd‘ to see how# to do that.  ## DO NOT RUN THIS SERVICE if your local area network is# untrusted!  For a secure way of using VNC, see this URL:# https://access.redhat.com/knowledge/solutions/7027# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.# Use "-localhost" to prevent remote VNC clients connecting except when# doing so through a secure tunnel.  See the "-via" option in the# `man vncviewer‘ manual page.VNCSERVERS="1:root"VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"VNCSERVERS="2:work"VNCSERVERARGS[2]="-geometry 1024x768  -nolisten tcp -localhost"

 

啟動vncserver伺服器:

[[email protected]001 ~]# service vncserver start

切換到work使用者,設定vncpasswd

在伺服器上可以看到開啟的vnc連接埠:

 

在windows上安裝viewvnc,輸入ip地址和連接埠號碼進行串連:

 

輸入密碼:

可以看到成功的串連上了centos 6.5的案頭:

win7 遠端桌面連線centos 6.5

相關文章

聯繫我們

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