在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
在這裡做個記錄,同時也希望能幫到同樣遇到此問題的同仁們。