How to add font

Fernando Augusto fernando.augusto at
Wed Dec 21 19:12:21 UTC 2005

Hi Fajar,

I had exactly the same problem and I solve this way:

You must copy vga fonts to LTSP enviroment either!


Copy vga files in /usr/share/dosemu/Xfonts/


to /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc

Execute this command in same path after copy the files:
# mkfontdir

Check in file /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc/fonts.dir exists the follow lines:

vga-cp866.pcf.gz -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp866
vga.pcf.gz -dosemu-vga-medium-r-normal--17-160-75-75-p-80-ibm-cp437
vga10x20-cp866.pcf.gz -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
vga11x19.pcf.gz -dosemu-vga-medium-r-normal--19-190-75-75-c-100-ibm-cp437

Add this lines above in /opt/ltsp/i386/usr/X11R6/lib/X11/fonts/misc/fonts.alias file:

vga          -dosemu-vga-medium-r-normal--17-160-75-75-p-80-ibm-cp437
vga11x19     -dosemu-vga-medium-r-normal--19-190-75-75-c-100-ibm-cp437
vgacyr       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp866
vga10x20     -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp866
vga-ua       -dosemu-vga-medium-r-normal--17-160-75-75-c-80-ibm-cp1125
vga10x20-ua  -dosemu-vga-medium-r-normal--20-200-75-75-c-100-ibm-cp1125

Sorry my poor english!



* How to add font*


  * /From/: Fajar Priyanto <fajarpri cbn net id>
  * /To/: For users of Fedora Core releases <fedora-list redhat com>
  * /Subject/: How to add font
  * /Date/: Sat, 27 Aug 2005 08:11:29 +0700


Hi all,
I have this situation.
I setup an LTSP environment with my FC4, and I also I setup dosemu.
The problem is, when LTSP client connect to the server, and try to run dosemu 
in X, it said:
You don't have the Dosemu vga font installed and are running remote X. You 
need to install the vga font on your _local_ Xserver. Look at readme for 

Ok, so I uncommented the font section in the X:
$_X_font = "vga"

But the problem persists:
Error:X: Unable to open font "vga", using builtin X
Error of failed request: BadAccess (attempt to access private resource 

I have tried xhost +, but no good.

How do I installed dosemu fonts in FC4? Dosemu has provide all the font files 
such as fonts.dir, fonts.alias, fonts pcf.gz.


More information about the fedora-list mailing list