1、install Desktop
1
|
#yum groupinstall Desktop |
2、install VNC
1
2
|
#yum install tigervnc-server #yum install xorg-x11-fonts-Type1 |
3、设置用户名密码
1
|
#vncpasswd |
4、vim /etc/sysconfig/vncservers
1
2
|
VNCSERVERS= "1:root"
VNCSERVERARGS[2]= "-geometry 800x600 -nolisten tcp -localhost"
|
5、重启VNC Server
1
|
#service vncserver restart |
6、关闭VNC Server
1
2
3
|
#vncserver -kill :1 or #service vncserver stop |
7、客户端VNC Viewer
VNC Server:-》 IP:1
注意:安装vnc server,需要yum update 。
本文转自 Art_Hero 51CTO博客,原文链接:http://blog.51cto.com/curran/1421223,如需转载请自行联系原作者