Tuesday, April 2, 2013

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
  1. The Pixel manipulation library development package (pixman, pixman-devel)
  2. X font handling library for server (libXfont) 
 Interestingly, the default installation of X Windows misses out these packages

# yum install pixman pixman-devel libXfont

2 comments:

FlakRat said...

Thanks, just what I was looking for to get vncserver started on CentOS 6.4

ISAM said...

hello, I have a similar problem and do not know how to fix it ..
I did not realize and disconnect directly from within the vcn and now not as switched on for ssh
a friend told me to put service vncserver start , but it gives me error
any suggestions? Thank you