Chinaunix首页 | 论坛 | 博客
  • 博客访问: 744501
  • 博文数量: 239
  • 博客积分: 60
  • 博客等级: 民兵
  • 技术积分: 1045
  • 用 户 组: 普通用户
  • 注册时间: 2009-03-22 18:25
文章分类

全部博文(239)

文章存档

2019年(9)

2018年(64)

2017年(2)

2016年(26)

2015年(30)

2014年(41)

2013年(65)

2012年(2)

分类: 其他平台

2016-07-18 11:20:49

   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




阅读(6228) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~