OpenVZ Forum


Home » Mailing lists » Users » vncserver won't start
Re: vncserver won't start FIXED [message #9522 is a reply to message #9473] Tue, 09 January 2007 01:01 Go to previous message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
Problem: vncserver wouldn't start

Fatal server error:
could not open default font 'fixed'


Solution:

cd /usr/X11R6/lib/X11/fonts
mkfontdir misc
/etc/init.d/xfs restart

vncserver runs fine now.


On Thu, Jan 04, 2007 at 09:45:49PM -0800, E Frank Ball wrote:
> 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
--

E Frank Ball efball@efball.com
 
Read Message
Read Message
Read Message
Previous Topic: Uncharging Too Much
Next Topic: Warning about resource shortage
Goto Forum:
  


Current Time: Fri Jul 19 21:19:14 GMT 2024

Total time taken to generate the page: 0.02401 seconds