centos vnc启动失败解决方法
时间:2015-01-10 19:34 来源:linux.it.net.cn 作者:IT
想在vps安装下vncserver,通过yum安装之后,发现启动会失败,报错内容如下:
1
2
3
4
5
6
7
8
9
10
11
[root@CentOS62 ~]# service vncserver start
正在启动 VNC 服务器: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
[失败]
百度之后,发现是版本和字体之间的问题:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[root@CentOS62 ~]# yum install pixman pixman-devel libXfont -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.163.com
* extras: mirrors.163.com
* updates: mirrors.163.com
Setting up Install Process
Resolving 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 Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
pixman-devel i686 0.26.2-5.1.el6_5 updates 18 k
Updating:
libXfont i686 1.4.5-3.el6_5 updates 144 k
pixman i686 0.26.2-5.1.el6_5 updates 206 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 2 Package(s)
Total download size: 368 k
Downloading 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:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : pixman-0.26.2-5.1.el6_5.i686 1/5
Installing : pixman-devel-0.26.2-5.1.el6_5.i686 2/5
Updating : libXfont-1.4.5-3.el6_5.i686 3/5
Cleanup : libXfont-1.4.1-2.el6_1.i686 4/5
Cleanup : pixman-0.18.4-1.el6_0.1.i686 5/5
Installed:
pixman-devel.i686 0:0.26.2-5.1.el6_5
Updated:
libXfont.i686 0:1.4.5-3.el6_5 pixman.i686 0:0.26.2-5.1.el6_5
Complete!
[root@CentOS62 ~]# /etc/init.d/vncserver start
正在启动 VNC 服务器:1:root
New 'CentOS62:1 (root)' desktop is CentOS62:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/CentOS62:1.log
[确定]
[root@CentOS62 ~]#
问题搞定
(责任编辑:IT)
想在vps安装下vncserver,通过yum安装之后,发现启动会失败,报错内容如下:
百度之后,发现是版本和字体之间的问题:
问题搞定 (责任编辑:IT) |