Redhat 6.4在使用 #yum install tigervnc-server 安装好vncserver并启动
发现问题:
1)问题一:
[xxx@redhatlocalhost ~]# /etc/init.d/vncserver start
Starting VNC server: no displays configured [FAILED]
解决方法:
[xxx@redhatlocalhost ~]# vim /etc/sysconfig/vncservers
添加内容
VNCSERVERS="2:shim"
VNCSERVERARGS[2]="-geometry 1360x768 -nolisten tcp -localhost"
后保存
[xxx@redhatlocalhost ~]# source /etc/sysconfig/vncservers
2)问题二:
[xxx@redhatlocalhost ~]# /etc/init.d/vncserver start
Starting VNC server: 2:shim runuser: user shim does not exist [FAILED]
解决方法:
[xxx@redhatlocalhost ~]# vim /etc/sysconfig/vncservers
将内容
VNCSERVERS="2:shim"
修改成
VNCSERVERS="2:root"
[xxx@redhatlocalhost ~]# source /etc/sysconfig/vncservers
[xxx@redhatlocalhost ~]# /etc/init.d/vncserver start
阅读(6435) | 评论(0) | 转发(0) |