天天看點

How to install VNC server on CentOS 6

1、install Desktop

1

<code>#yum groupinstall Desktop</code>

2、install VNC

2

<code>#yum install tigervnc-server</code>

<code>#yum install xorg-x11-fonts-Type1</code>

3、設定使用者名密碼

<code>#vncpasswd</code>

4、vim /etc/sysconfig/vncservers

<code>VNCSERVERS=</code><code>"1:root"</code>

<code>VNCSERVERARGS[2]=</code><code>"-geometry 800x600 -nolisten tcp -localhost"</code>

5、重新開機VNC Server

<code>#service vncserver restart</code>

6、關閉VNC Server

3

<code>#vncserver -kill :1</code>

<code>or</code>

<code>#service vncserver stop</code>

7、用戶端VNC Viewer

VNC Server:-》    IP:1 

注意:安裝vnc server,需要yum update 。

本文轉自 Art_Hero 51CTO部落格,原文連結:http://blog.51cto.com/curran/1421223,如需轉載請自行聯系原作者

繼續閱讀