Centos 6.2 配置VNC
必须明白:
vncserver在调用的时候,会根据你的配置来启用server端的监听端口,
端口默认是从5900开始,再加上你的桌面号。
比如你的桌面号为1,则vnc的连接端口号为5900+1=5901
比如你的桌面号为10000,则vnc的连接端口号为5900+10000=15900
在CentOS 6.2环境下安装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
本文出自 “老尼” 博客,请务必保留此出处http://zcnick.blog.51cto.com/1992444/939006
联系客服