[root@localhost media]# service vncserver start
Starting VNC server: 1:root
WARNING: The first attempt to start Xvnc failed, possibly because of 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]
You need to add 3 packages to solve this problem
yum install pixman pixman-devel libXfont
The above is an introduction to the solution to the problem of Could not start Xvnc when installing vnc on CentOS. It is mainly caused by the lack of three packages. It can be solved by simply adding them again.