VNCserver部署

1、模糊查询vnc server服务

[root@wxj ~]# yum search vnc 

 2、安装vncserver服务

[root@wxj ~]# yum install tigervnc-server -y  

 3、初始化vncserver,需要输入密码 

[root@wxj ~]# vncserver  
You will require a password to access your desktops. 
 Password: 
 Verify:  

 4、修改分辨率

[root@wxj ~]# vim /root/.vnc/xstartup  

 5、修改vncservers配置文件

[root@wxj ~]#vim /etc/sysconfig/vncservers  
 增加内容VNCSERVERS="1:root" 

 6、重启vncserver服务 

[root@wxj ~]# service vncserver restart  

 说明:第一个终端的序列号是5901,测试连接

发表评论

后才能评论