[root@localhost ~]# yum install tigervnc*
注意:
打开vnc报以下错误
Fri Mar 28 14:59:52
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5901
vncext: Listening for HTTP connections on all interface(s), port 5801
vncext: created VNC server for screen 0
[dix] Could not init font path element /usr/share/X11/fonts/misc, removing from list!
[dix] Could not init font path element built-ins, removing from list!
Fatal server error:
could not open default font 'fixed'
解决方法:
升级 yum install libXfont-1.4.5-*
在CentOS 6.3环境下安装VNC报错如下:
[root@localhost media]# service vncserver start
Starting VNC server: 1:root
WARNING: The first attempt to start Xvnc failed, possibly because the font
catalog is not properly configured. Attempting to determine an appropriate
font path for this system and restart Xvnc using that font path ...
Could not start Xvnc.
/usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids
/usr/bin/Xvnc: symbol lookup error: /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoids
[FAILED]
很是费解,后来搜索发现需要增加3个包即可解决该问题
yum install pixman pixman-devel libXfont
在这里做个记录,同时也希望能帮到同样遇到此问题的同仁们。