vncserver won't start [message #9473] |
Fri, 05 January 2007 05:45 |
efball
Messages: 41 Registered: September 2006 Location: Santa Rosa, California
|
Member |
|
|
I'm trying to run a vncserver from within openvz.
According to the wiki this should be easy:
http://wiki.openvz.org/X_inside_VE
My vncserver dies with a "could not open default font 'fixed'" error.
My base server is RedHat Enterprise 4, and my VEs are CentOS 4.
I've done much googling and I'm not getting anywhere.
Here is my vncserver log:
Xvnc version 4.0 - built Feb 21 2005 15:50:07
Underlying X server release 60801000, The X.Org Foundation
Thu Jan 4 16:29:02 2007
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy
Fatal server error:
could not open default font 'fixed'
xsetroot: unable to open display 'bessel:1'
vncconfig: unable to open display "bessel:1"
twm: unable to open display "bessel:1"
xterm Xt error: Can't open display: bessel:1
-------------------------------------------------
Here are the relevant xorg rpms I have installed:
rpm -qa | grep xorg | sort
fonts-xorg-100dpi-6.8.2-1.EL
fonts-xorg-75dpi-6.8.2-1.EL
fonts-xorg-base-6.8.2-1.EL
xorg-x11-6.8.2-1.EL.13.37.2
xorg-x11-Mesa-libGL-6.8.2-1.EL.13.37.2
xorg-x11-Mesa-libGLU-6.8.2-1.EL.13.37.2
xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.2
xorg-x11-font-utils-6.8.2-1.EL.13.37.2
xorg-x11-libs-6.8.2-1.EL.13.37.2
xorg-x11-tools-6.8.2-1.EL.13.37.2
xorg-x11-twm-6.8.2-1.EL.13.37.2
xorg-x11-xauth-6.8.2-1.EL.13.37.2
xorg-x11-xdm-6.8.2-1.EL.13.37.2
xorg-x11-xfs-6.8.2-1.EL.13.37.2
Here's a clue, but I don't know how to fix it:
# fslsfonts -server unix/:7100 -ll -fn fixed
fslsfonts: pattern "fixed" unmatched
I've tried running
vncserver :1
vncserver -fp unix/:7100
vncserver -fp /usr/X11R6/lib/X11/fonts/misc
I've edited /usr/bin/vncserver and uncommented:
$cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
This did fix a couple of errors, but not the fatal one.
I've restarted xfs many times, and it is running:
# service xfs status
xfs (pid 23795) is running...
Any help?, Thanks
--
E Frank Ball efball@efball.com
|
|
|