tigerVNC的簡單使用教程(CentOS的遠程桌面鏈接)

(1) CentOS 6.5下服務器

1 [root@localhost ~]$ rpm –q tigervnc tigervnc-server
2 tigervnc-1.0.90-0.17.20110314svn4359.el6.i686
3 tigervnc-server-1.0.90-0.17.20110314svn4359.el6.i686

 

使用以下命令,進行安裝session

1 yum install tigervnc  
2 yum install tigervnc-server  
 
 

(2) Windows 7下svn

tigervnc-1.2.0.exe,在http://sourceforge.net/projects/tigervnc/下載工具

 

二、啓動vncserver(服務器端)ui

1 vncserver :n

 

這裏的n是sessionnumber,不指定默認爲1,也能夠是二、3等等。第一次會提示輸入密碼,之後能夠使用vncpasswd命令修改密碼。spa

 

三、啓動vncviewer(客戶端).net

vncviewer localhost:n

 

這裏的n對應vncserver指定的數字,若是使用Xmanager等工具,在Windows下就自動彈出CentOS的桌面,這裏咱們改用tigervnc-1.2.0.exe。unix

 

四、啓動tigervnc的Windows版本(tigervnc-1.2.0.exe)code

VNC的默認端口是5900,而遠程桌面鏈接端口則是5900+n(n是vncserver命令指定的)。若是使用「vncserver :1」命令啓動VNC Server,那麼下面的端口應該是5901。



點擊「OK」,提示輸入密碼後,就能夠看到CentOS的桌面了。

 

五、關閉vncserver(服務器端)

vncserver -kill :n

 

若是使用vncserver :n屢次創建遠程桌面,能夠用

vncserver –list

 

列出當前用戶創建的全部遠程桌面,例如

[root@localhost ~]$ vncserver -list

TigerVNC server sessions:

X DISPLAY #    PROCESS ID
:1        14174

 


參考資料:

 

一、http://heather.cs.ucdavis.edu/~matloff/vnc.html

二、http://blog.chinaunix.net/uid-26642180-id-3135447.html

三、http://blog.csdn.net/daydreamingboy/article/details/8196747/#

相關文章
相關標籤/搜索