Centos 6.5 安裝VNC Server 圖形化

來源:互聯網
上載者:User

標籤:style   blog   color   os   io   ar   art   div   log   

[[email protected] .ssh]#  yum -y install tigervnc-server vnc-server
[[email protected] .vnc]# vi /etc/sysconfig/vncservers # VNCSERVERS="2:myusername"# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"VNCSERVERS="1:root 2:shylock"VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp"VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp"
[[email protected] .vnc]# pwd/root/.vnc
[[email protected] .vnc]# vi xstartup #在最後修改twm為gnome-session 或者startkde

  #twm &
  gnome-session &
  #startkde &

 

然後設定賬戶密碼

分別登入root和shylock[[email protected] .vnc]# vncpasswd[[email protected] ~]$ vncpasswd根據提示輸入密碼

啟動vncServer

[[email protected] .vnc]# /sbin/service vncserver start

解釋: 1:root 表示VNC登入使用者為 root VNC串連連接埠為 5901,為什麼是5901?是 5900+1, 5900 是VNC的開始端點口;

下載VNC-Viewer

VNC Server:192.168.1.131::5901   (ip:1 ip:5901)

點擊connect,輸入設定的密碼,然後圖形化介面就出現了!!!

 

Centos 6.5 安裝VNC Server 圖形化

相關文章

聯繫我們

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