LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2012, 07:17 PM   #1
ebol4
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
xterm: cannot match normal font "Monospace" on xterm 282, X11R7.7


I've been building CLFS (Linux from Scratch, but multilib), and have had a lot of trouble getting Xorg stuff working. I've finally got everything compiled, but X won't run. When I type startx, I get the following errors:

xterm: cannot match normal font "Monospace"
xterm: Selected font has no non-zero height for ISO-8859-1 encoding
Warning: cannot convert string "" to type XftFont

I'm not sure what the problem is. If you need any more information, let me know.

Thanks
 
Old 10-07-2012, 07:56 PM   #2
dickey
Member
 
Registered: Jun 2009
Posts: 43

Rep: Reputation: 18
Quote:
Originally Posted by ebol4 View Post
I've been building CLFS (Linux from Scratch, but multilib), and have had a lot of trouble getting Xorg stuff working. I've finally got everything compiled, but X won't run. When I type startx, I get the following errors:

xterm: cannot match normal font "Monospace"
xterm: Selected font has no non-zero height for ISO-8859-1 encoding
Warning: cannot convert string "" to type XftFont

I'm not sure what the problem is. If you need any more information, let me know.

Thanks
Offhand, I'd first check if there's something different between my X resources on the CLFS system versus a working system (using appres XTerm). xterm can be compiled with a debug-trace that shows what resource settings it's using, and what fonts it thinks it's using (--enable-trace configure option). If it's not due to a broken fontconfig setup, then between the trace and appres there should be enough information to diagnose the problem.
 
Old 10-07-2012, 08:59 PM   #3
ebol4
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Figured out the problem. The fonts I installed for Xorg were installed to /usr/X11R7.7/share/fonts/X11, so I just had to add the directory to fontconfig's configs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the font-size for "xterm" terminal-emulator (running "bash" shell) ajaygarg Linux - Desktop 1 03-09-2012 12:38 PM
"xterm -e ls" and then I want that the xterm window wait cstrieder Linux - General 4 01-22-2010 02:39 PM
Error opening terminal: xterm Terminal type "xterm" unknown Pscylo Slackware 10 04-17-2009 06:33 AM
XTerm set font to "Courier" introuble Linux - General 4 07-25-2006 06:37 AM
XTerm set font to "large" from command line introuble Linux - General 3 06-26-2006 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration