centos vnc启动失败解决方法

想在vps安装下vncserver,通过yum安装之后,发现启动会失败,报错内容如下:

[root@CentOS62 ~]# service vncserver start正在启动 VNC 服务器:1:rootWARNING: The first attempt to start Xvnc failed, possibly because the fontcatalog is not properly configured. Attempting to determine an appropriatefont 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@CentOS62 ~]# yum install pixman pixman-devel libXfont -yLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.163.com* extras: mirrors.163.com* updates: mirrors.163.comSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package libXfont.i686 0:1.4.1-2.el6_1 will be updated---> Package libXfont.i686 0:1.4.5-3.el6_5 will be an update---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be updated---> Package pixman.i686 0:0.26.2-5.1.el6_5 will be an update---> Package pixman-devel.i686 0:0.26.2-5.1.el6_5 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size================================================================================Installing:pixman-devel i686 0.26.2-5.1.el6_5 updates 18 kUpdating:libXfont i686 1.4.5-3.el6_5 updates 144 kpixman i686 0.26.2-5.1.el6_5 updates 206 kTransaction Summary================================================================================Install 1 Package(s)Upgrade 2 Package(s)Total download size: 368 kDownloading Packages:(1/3): libXfont-1.4.5-3.el6_5.i686.rpm | 144 kB 00:00(2/3): pixman-0.26.2-5.1.el6_5.i686.rpm | 206 kB 00:00(3/3): pixman-devel-0.26.2-5.1.el6_5.i686.rpm | 18 kB 00:00--------------------------------------------------------------------------------Total 595 kB/s | 368 kB 00:00Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionUpdating : pixman-0.26.2-5.1.el6_5.i686 1/5Installing : pixman-devel-0.26.2-5.1.el6_5.i686 2/5Updating : libXfont-1.4.5-3.el6_5.i686 3/5Cleanup : libXfont-1.4.1-2.el6_1.i686 4/5Cleanup : pixman-0.18.4-1.el6_0.1.i686 5/5Installed:pixman-devel.i686 0:0.26.2-5.1.el6_5Updated:libXfont.i686 0:1.4.5-3.el6_5 pixman.i686 0:0.26.2-5.1.el6_5Complete![root@CentOS62 ~]# /etc/init.d/vncserver start正在启动 VNC 服务器:1:rootNew 'CentOS62:1 (root)' desktop is CentOS62:1Starting applications specified in /root/.vnc/xstartupLog file is /root/.vnc/CentOS62:1.log[确定][root@CentOS62 ~]#

问题搞定

centos  vnc启动失败解决方法

相关文章:

你感兴趣的文章:

标签云: