On 12/03/2018 05:21 PM, Ken Moffat via blfs-support wrote:
On Mon, Dec 03, 2018 at 09:33:15PM +0000, Hans Malissa via blfs-support wrote:
On Dec 03, 2018, at 01:41 PM, Pierre Labastie via blfs-support
<[email protected]> wrote:
That happened once to me because I had built xorg-server before installing the
font utilities. Because of that, Xorg couldn't find fonts that twm was
requesting, and twm could not start. I think you can still exit X, though, by
moving the mouse to the upper left window and typing Ctrl-D. Then you can
examine the terminal where you launched "startx" for any errors (note that
there may be a lot of warnings about fonts not found, if you have not
installed the legacy fonts, so that this part is useless). If my hypothesis is
correct, it should say something about helvetica fonts, as far as I remember.
Also look at /var/log/Xorg.0.log to try to see what went wrong.
If the fonts are not found, install them, and rebuild xorg-server. If anything
else, well, I guess we need more details...
Ah, now I'm getting something: when I try to launch twm as you describe, I get
one font-related error message:
twm: unable to open fontset "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
I guess it's really that some fonts are missing. I still wonder where I went
wrong: in which section did we install this font?
Xorg-legacy, the last section in the chapter. You only really need
font-adobe-100dpi.
If you have installed some TTF/OTF fonts, you could alternatively
just try a different windowmanager - I normally use fluxbox to check
everythings is working, for me twm is too old-school.
When I build Xorg, I have three scripts I always run: make-xorg-fonts-7,
make-xorg-fonts-legacy, and make-xorg-old-legacy-fonts/
$ cat legacy.md5
9ba75bf38ba62a6ad52550ab716da9b3 libXfont-1.5.3.tar.bz2
53a48e1fdfec29ab2e89f86d4b7ca902 bdftopcf-1.0.5.tar.bz2
1347c3031b74c9e91dc4dfa53b12f143 font-adobe-100dpi-1.0.3.tar.bz2
6c9f26c92393c0756f3e8d614713495b font-adobe-75dpi-1.0.3.tar.bz2
cb7b57d7800fd9e28ec35d85761ed278 font-jis-misc-1.0.3.tar.bz2
0571bf77f8fab465a5454569d9989506 font-daewoo-misc-1.0.3.tar.bz2
a2401caccbdcf5698e001784dbd43f1a font-isas-misc-1.0.3.tar.bz2
$ cat old-legacy.md5
cc0726e4a277d6ed93b8e09c1f195470 font-arabic-misc-1.0.3.tar.bz2
3e0069d4f178a399cffe56daa95c2b63 font-cursor-misc-1.0.3.tar.bz2
6e7c5108f1b16d7a1c7b2c9760edd6e5 font-dec-misc-1.0.3.tar.bz2
143c228286fe9c920ab60e47c1b60b67 font-micro-misc-1.0.3.tar.bz2
96109d0890ad2b6b0e948525ebb0aba8 font-misc-cyrillic-1.0.3.tar.bz2
e3e7b0fda650adc7eb6964ff3c486b1c font-misc-meltho-1.0.3.tar.bz2
c88eb44b3b903d79fb44b860a213e623 font-misc-misc-1.1.2.tar.bz2
56b0296e8862fc1df5cdbb4efe604e86 font-mutt-misc-1.0.3.tar.bz2
e805feb7c4f20e6bfb1118d19d972219 font-schumacher-misc-1.1.2.tar.bz2
beef61a9b0762aba8af7b736bb961f86 font-sony-misc-1.0.3.tar.bz2
948f2e07810b4f31195185921470f68d font-sun-misc-1.0.3.tar.bz2
These are technically not needed, but I don't like warnings in Xorg.0.log.
If the adobe fonts are needed for twm, then they need to be moved to the
earlier Xorg page and before the section 'Xorg-7 Testing and Configuration'.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page