X server fails to start with error - Fatal server error: could not open default font 'fixed'

Solution Verified - Updated -


  • Red Hat Enterprise Linux 6.4
  • xorg-x11-server-Xorg-1.13.0-11.el6
  • xorg-x11-server-Xvfb-1.13.0-11.el6
  • libXfont-1.4.1-2.el6_1


  • X server fails to start after a system update.
  • The below messages are observed in Xorg log:
[   723.507] [dix] Could not init font path element catalogue:/etc/X11/fontpath.d, removing from list!
[   723.507] [dix] Could not init font path element built-ins, removing from list!
[   723.507] 
Fatal server error:
[   723.508] could not open default font 'fixed'
[   723.508] (EE) 
Please consult the Red Hat, Inc. support 
         at https://www.redhat.com/apps/support/
 for help. 
[   723.508] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   723.508] (EE) 
[   723.681] Server terminated with error (1). Closing log file.
  • Running startx and Xvfb fails with a similar error.


There are several different causes for this error; thus, the approaches below should be tried in order while verifying after each section if the changes have resolved the issue, by restarting X or rebooting.

Updating or Installing the libXfont package

  • Update or install the libXfont package by running:

    # yum -y update libXfont
    # yum -y install libXfont
  • For example, libXfont-1.4.5-2.el6 was required for this version of X server.

Install common fonts or X11 packages that may be missing:

  • Ensure that all packages for X are installed:

    • Install the minimal X Window System group:
    # yum groupinstall -y "X Window System"
    • And if it's ok to update X, then run:
    # yum groupupdate -y "X Window System"
  • Install a few fonts and rebuild the font cache by running:

    # yum install xorg-x11-fonts-{Type1,misc,100dpi}
    # yum install xorg-x11-fonts-ISO8859-1-{100dpi,75dpi}
    # fc-cache -f 

Update the xorg.conf to specify RgbPath and Fontpath

  • If the above does not help, update the RgbPath in xorg.conf

    • Add following to /etc/X11/xorg.conf
    Section "Files"
      RgbPath   "/usr/share/X11/rgb.txt"
    • Otherwise, if that does not work then try without the '.txt'
    Section "Files"
      RgbPath   "/usr/share/X11/rgb"
  • Try manually specifying some of the font paths directly:

    • Edit /etc/X11/xorg.conf and aff the following to the "Files" section:
    Section "Files"
      FontPath        "/usr/share/fonts/default/Type1"
      FontPath        "/usr/share/X11/fonts/misc"
      FontPath        "/usr/share/X11/fonts/75dpi"
      FontPath        "/usr/share/X11/fonts/100dpi"

Root Cause

  • The X server was updated to latest release without supporting the libXfont package.

Diagnostic Steps

  • Booting the system in runelvel 5 or runing the startx command from runlevel 3 produces the error messages.

  • Running Xvfb as below shows a similar issue

    Xvfb :1 -screen 0 800x600x24
  • For a working X11 environment, the current fontpath can be checked with:

    $ xset -q | grep -E 'Font Path' -A1
    Font Path:

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.


after applying this fix, received:
/var/log/Xorg.0.log to see the attempt to load the driver:
[ 62.461] (II) config/hal: Adding input device Dell Dell USB Keyboard
[ 62.461] (II) LoadModule: "evdev"
[ 62.462] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 62.471] (II) Module evdev: vendor="X.Org Foundation"
[ 62.471] compiled for 1.7.7, module version = 2.3.2
[ 62.471] Module class: X.Org XInput Driver
[ 62.471] ABI class: X.Org XInput driver, version 7.0
[ 62.471] (EE) module ABI major version (7) doesn't match the server's version (18)
[ 62.471] (II) UnloadModule: "evdev"
[ 62.471] (II) Unloading evdev
[ 62.471] (EE) Failed to load module "evdev" (module requirement mismatch, 0)
[ 62.471] (EE) No input driver matching `evdev'
[ 62.471] (EE) config/hal: NewInputDeviceRequest failed (15)

This work for me! (reinstalando e fazendo o update abaixo funcionou para mim)

yum -y update libXfont

yum -y install libXfont