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安装就可以了
- yum install libXfont
- yum install xorg-x11-xdm
- 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]