启动vncserver服务器时出现如下错误:

[root@redhatAS6 home]# vncserver

xauth: (stdin):1:  bad display name "redhatAS6.localdomain:1" in "add" command

 

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

 

 

解决方法:

[root@redhatAS6 /]# yum install pixman pixman-devel libXfont

正常启动

[root@redhatAS6 /]# vncserver

xauth: (stdin):1:  bad display name "redhatAS6.localdomain:1" in "add" command

 

New 'redhatAS6.localdomain:1 (root)' desktop is redhatAS6.localdomain:1

 

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/redhatAS6.localdomain:1.log