vnc sever 不工作,原因是字体库缺失

Unable to launch VNCServer due to fontpath issues on CentOS 6
When trying out VNCServer on both CentOS 6.2 and CentOS 6.3

$ vncserver

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

The solution is to Install / Update
The Pixel manipulation library development package (pixman, pixman-devel)
X font handling library for server (libXfont)
Interestingly, the default installation of X Windows misses out these packages

# yum install pixman pixman-devel libXfont

你可能感兴趣的:(OS)