# only six X11 fonts available

**URL:** <https://forums.suse.com/t/only-six-x11-fonts-available/28621>\
**Category:** SLES Configure-Administer\
**Created:** [September 9, 2016, 1:39pm UTC](https://forums.suse.com/t/only-six-x11-fonts-available/28621 "2016-09-09T13:39:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emanuele\_lombardi](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@emanuele\_lombardi](https://forums.suse.com/u/emanuele_lombardi)\
**Post date:** [September 9, 2016, 1:39pm UTC](https://forums.suse.com/t/only-six-x11-fonts-available/28621/1 "2016-09-09T13:39:25Z")

</div>

My server SLES12Sp1 is working quite well but I have troubles with X11 clients since  
they (eg xterm) only have six fonts available.

xlsfonts returns only the following six fonts (and only them can be used by xterm):

-misc-fixed-medium-r-semicondensed–0-0-75-75-c-0-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-100-100-100-c-60-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso8859-1  
6x13  
cursor  
fixed

But I have a lots of installed fonts on my server!  
fc-list|wc  
1948 7460 152082

I read around that X11 fonts are different from “now standard” fonts, but I don’t know how to give X11 the fonts listed by fc-list  
I hoped it was fonts-config but it doesn’t work:

fonts-config -v  
Creating fonts.{scale,dir} files …  
Creating cache files for fontconfig …  
Creating 32bit cache files for fontconfig …  
It is not a local display, do not reread X font databases for now  
Generating java font setup …  
warning: cannot find a Japanese sans serif font, Japanese might not work in Java  
warning: cannot find a Japanese monospace font, Japanese might not work in Java  
warning: cannot find a Japanese serif font, Japanese might not work in Java  
warning: cannot find a Simplified Chinese sans font, Simplified Chinese might not work in Java  
warning: cannot find a Simplified Chinese serif font, Simplified Chinese might not work in Java  
warning: cannot find a Traditional Chinese sans font, Traditional Chinese might not work in Java  
warning: cannot find a Traditional Chinese serif font, Traditional Chinese might not work in Java  
warning: cannot find a Korean sans font, Korean might not work in Java  
warning: cannot find a Korean serif font, Korean might not work in Java

xlsfonts  
-misc-fixed-medium-r-semicondensed–0-0-75-75-c-0-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-100-100-100-c-60-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso8859-1  
6x13  
cursor  
fixed

Any help will be very apreciated,  
ciao,  
Emanuele

This is the list of X11 related installed rpm:  
rpm -qa | grep -i x11 | sort  
dbus-1-x11-1.8.16-19.1.x86\_64  
emacs-x11-24.3-16.32.x86\_64  
ghostscript-x11-9.15-6.5.x86\_64  
libQt5X11Extras5-5.5.1-3.2.x86\_64  
libX11-6-1.6.2-4.12.x86\_64  
libX11-6-32bit-1.6.2-4.12.x86\_64  
libX11-data-1.6.2-4.12.noarch  
libX11-devel-1.6.2-4.12.x86\_64  
libX11-xcb1-1.6.2-4.12.x86\_64  
libX11-xcb1-32bit-1.6.2-4.12.x86\_64  
libqt4-x11-32bit-4.8.6-7.1.x86\_64  
libqt4-x11-4.8.6-7.1.x86\_64  
libxkbcommon-x11-0-0.4.1-3.1.x86\_64  
patterns-sles-x11-12-64.3.x86\_64  
perl-X11-Protocol-0.56-12.19.x86\_64  
pulseaudio-module-x11-5.0-2.7.x86\_64  
x11-tools-0.1-205.1.noarch  
x11perf-1.5.4-1.15.x86\_64  
xorg-x11-7.6\_1-14.17.noarch  
xorg-x11-Xvnc-1.4.3-14.1.x86\_64  
xorg-x11-devel-7.6-45.14.noarch  
xorg-x11-driver-input-7.6\_1-11.10.noarch  
xorg-x11-driver-video-7.6\_1-14.30.x86\_64  
xorg-x11-essentials-7.6\_1-14.17.noarch  
xorg-x11-fonts-7.6-29.45.noarch  
xorg-x11-fonts-core-7.6-29.45.noarch  
xorg-x11-libXpm-7.4-1.17.x86\_64  
xorg-x11-libs-7.6-45.14.noarch  
xorg-x11-libxcb-7.4-1.29.1.x86\_64  
xorg-x11-proto-devel-7.6-49.97.x86\_64  
xorg-x11-server-7.6\_1.15.2-51.2.x86\_64  
xorg-x11-server-extra-7.6\_1.15.2-51.2.x86\_64  
xorg-x11-server-sdk-7.6\_1.15.2-51.2.x86\_64  
xorg-x11-util-devel-7.6\_1-7.15.noarch  
yast2-x11-3.1.3-2.14.x86\_64

---

<div class="post-metadata">

**Author:** ![emanuele\_lombardi](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@emanuele\_lombardi](https://forums.suse.com/u/emanuele_lombardi)\
**Post date:** [September 9, 2016, 5:28pm UTC](https://forums.suse.com/t/only-six-x11-fonts-available/28621/2 "2016-09-09T17:28:31Z")

</div>

Googling in a better way I found a nice solution on how let X use the modern fonts.  
Here it is for whom might ever need it:

To browse the list of fonts use

fc-list :fontformat=TrueType -f "%{family}  
" | sort -u

Test a font by specifyng in the xterm command -fa option

```
xterm -fa 'Luxi Mono' -fs 10

```

Where fa refers to the fonts face name, and fs, the font size.

Once happy with your font, apply to your application in ~/.Xresources  
For example to apply for XTerm

```
! my customisations
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 11

```

The final step is to set these resource changes using xrdb

```
xrdb -merge .Xresources

```

Thanks to who wrote [https://community.linuxmint.com/tutorial/view/1021](https://community.linuxmint.com/tutorial/view/1021)  
Emanuele

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [September 9, 2016, 5:57pm UTC](https://forums.suse.com/t/only-six-x11-fonts-available/28621/3 "2016-09-09T17:57:09Z")

</div>

Hi  
I still think your missing font packages, on my SLES 12 Sp1 system, I have many…;

```auto
xlsfonts |wc -l
12643

zypper se -i fonts

S | Name | Summary | Type   
--+-----------------------------+-------------------------------------------------------+--------
i | bitstream-vera-fonts | Bitstream Vera(tm) Truetype fonts | package
i | cantarell-fonts | Contemporary Humanist Sans Serif Font | package
i | dejavu-fonts | DejaVu Truetype Fonts | package
i | efont-unicode-bitmap-fonts | Unicode Font by /efont/ | package
i | fonts-config | Configures Fonts for X Windows and other applications | package
i | ghostscript-fonts-other | Optional Fonts for Ghostscript | package
i | ghostscript-fonts-std | Basic Fonts for Ghostscript | package
i | gnu-unifont-bitmap-fonts | The GNU Unicode Bitmap Font | package
i | google-opensans-fonts | Humanist Sans Serif Typeface | package
i | intlfonts | Documentation for the International Fonts | package
i | intlfonts-euro-bitmap-fonts | European fonts for the X Window System | package
i | mkfontscale | Utility to create index of scalable font files for X | package
i | xfontsel | Utility to display X11 font names | package
i | xlsfonts | Utility to list fonts available from an X server | package
i | xorg-x11-fonts | X.Org fonts | package
i | xorg-x11-fonts-core | Core Fonts for X.Org | package
```

Might pay to check your installed font packages and may not have to use the work around?

---

<div class="post-metadata">

**Author:** ![emanuele\_lombardi](https://avatars.discourse-cdn.com/v4/letter/e/f04885/32.png) [@emanuele\_lombardi](https://forums.suse.com/u/emanuele_lombardi)\
**Post date:** [September 12, 2016, 11:33am UTC](https://forums.suse.com/t/only-six-x11-fonts-available/28621/4 "2016-09-12T11:33:50Z")

</div>

Hi,  
it seems I’ve more than yours! I have also Latex fonts (texlive\*) which I exclude from the list:

[CODE] zypper se -i fonts | grep -v texlive  
Refreshing service ‘Advanced\_Systems\_Management\_Module\_12\_x86\_64’.  
Refreshing service ‘Containers\_Module\_12\_x86\_64’.  
Refreshing service ‘SUSE\_Linux\_Enterprise\_Server\_12\_SP1\_x86\_64’.  
Refreshing service ‘SUSE\_Linux\_Enterprise\_Software\_Development\_Kit\_12\_SP1\_x86\_64’.  
Refreshing service ‘Web\_and\_Scripting\_Module\_12\_x86\_64’.  
Loading repository data…  
Reading installed packages…

S | Name | Summary | Type  
–±----------------------------±------------------------------------------------------±-------  
i | bitstream-vera-fonts | Bitstream Vera™ Truetype fonts | package  
i | cantarell-fonts | Contemporary Humanist Sans Serif Font | package  
i | dejavu-fonts | DejaVu Truetype Fonts | package  
i | efont-unicode-bitmap-fonts | Unicode Font by /efont/ | package  
i | fonts-config | Configures Fonts for X Windows and other applications | package  
i | ghostscript-fonts-other | Optional Fonts for Ghostscript | package  
i | ghostscript-fonts-std | Basic Fonts for Ghostscript | package  
i | gnu-unifont-bitmap-fonts | The GNU Unicode Bitmap Font | package  
i | google-opensans-fonts | Humanist Sans Serif Typeface | package  
i | intlfonts | Documentation for the International Fonts | package  
i | intlfonts-euro-bitmap-fonts | European fonts for the X Window System | package  
i | java-1\_6\_0-ibm-fonts | Java™ 2 Runtime Environment | package  
i | mkfontscale | Utility to create index of scalable font files for X | package  
i | sgi-bitmap-fonts | Very Nice Bitmapped Fonts from SGI | package  
i | xfontsel | Utility to display X11 font names | package  
i | xlsfonts | Utility to list fonts available from an X server | package  
i | xorg-x11-fonts | [X.Org](http://X.Org) fonts | package  
i | xorg-x11-fonts-core | Core Fonts for [X.Org](http://X.Org) | package[/CODE]

nevertheless I always have few X11 fonts!  
xlsfonts  
-misc-fixed-medium-r-semicondensed–0-0-75-75-c-0-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-100-100-100-c-60-iso8859-1  
-misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso8859-1  
6x13  
cursor  
fixed

I noticed my SLES12SP1 (which is a server, thus its graphical console is rarely needed) has no graphical console at all!  
For sure it’s a problem I have to investigate, but I don’t know if it is relevant also for my X11 fonts problem.  
/var/log/Xorg.1.log shows

```auto
[1214296.281] (II) LoadModule: "vesa"
[1214296.281] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[1214296.281] (II) Module vesa: vendor="X.Org Foundation"
[1214296.281] compiled for 1.15.2, module version = 2.3.3
[1214296.281] Module class: X.Org Video Driver
[1214296.281] ABI class: X.Org Video Driver, version 15.0
[1214296.281] (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI,
        mgag200 SE A PCI, mgag200 SE B PCI, mgag200 EV Maxim,
        mgag200 ER SH7757, mgag200 eW Nuvoton, mgag200eH, mgag400, mgag550
[1214296.282] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[1214296.282] (II) FBDEV: driver for framebuffer: fbdev
[1214296.282] (II) VESA: driver for VESA chipsets: vesa
[1214296.282] (++) using VT number 7

[1214296.301] (EE) mga: The PCI device 0x534 at 08@00:00:0 has a kernel module claiming it.
[1214296.301] (EE) mga: This driver cannot operate until it has been unloaded.
[1214296.301] (EE) mga: The PCI device 0x534 at 08@00:00:0 has a kernel module claiming it.
[1214296.301] (EE) mga: This driver cannot operate until it has been unloaded.
```

It seems my video card has a problem. When the server was SLES11SP3 the graphic console worked properly.

I was trying to use SaX to investigate the driver problem, but I found out that SaX is not any more available (it was on 11P3)  
May be it has been moved to the SUSE Linux Enterprise Workstation Extension (which needs a SUSE Linux Enterprise Desktop subscription I don’t have) ?

Thanks again fro any help,  
Emanuele
