解决RHEL6 vncserver 启动 could not open default font 'fixed'错误.

来源:互联网 发布:淘宝同行恶意投诉售假 编辑:程序博客网 时间:2024/06/05 14:46

Thu May  5 10:08:33 2016
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5902
 vncext:      created VNC server for screen 0
[dix] Could not init font path element catalogue:/etc/X11/fontpath.d, removing from list!
[dix] Could not init font path element built-ins, removing from list!
(EE) 
Fatal server error:
(EE) could not open default font 'fixed'(EE) 

主要是缺少相关字体,通过yum安装就可以了

  1. yum install libXfont    
  2. yum install xorg-x11-xdm  
  3. yum install xorg-x11-fonts* 

启动vnc

[root@host.repos.d]# service vncserver start
Starting VNC server: 2:root xauth: (stdin):1:  bad display name "host:2" in "add" command
New 'host:2 (root)' desktop is lab186lte156:2
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/host:2.log             [OK]


0 0