LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-19-2014, 12:17 PM   #1
gpeterso
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
RHEL6 X11 Fonts not working


My new RHEL6 systems are not displaying X11 fonts properly. I have installed a xfs server and can run fslsfonts and see all the fonts the font server is providing. I have added a /etc/X11/xorg.conf file and added FontPath "unix/:7100" to it and the /var/log/Xorg.0.log says its including the new FontPath. XFS server is running properly but X will not communicate with it.

There must be a basic under lying problem. I figured I would try to see why the X11 fonts in /etc/X11/fontpath.d are not even listed. Here are a few examples of X applications trying to load a font. Has anyone see this problem or know if a fix to this issue.

Notes:

* RH4 systems in my environment do not have any issues running the same X11 applications and xlsfonts list the entire X11 fonts on the system.
* lsfonts in RHEL6 do not seem to list the fonts that I see in /etc/X11/fontpath.d
* I have ran the following to update the X11 packages: yum groupinstall "X Window System"
* Release: Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
* uname -a "Linux lco-vlsi-lg9 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux"

Application example One:

$ xemacs
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
$ xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-*'
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-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
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
$ /apps/xemacs/21.5.34-r1/bin/xemacs -fn -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset

Application example Two:

$ xlsfonts
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-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
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
6x13
6x13
cursor
cursor
fixed
fixed
$
$ xterm
Warning: Cannot convert string "nil2" to type FontStruct
 
Old 03-13-2014, 12:56 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Hi:

Welcome to Linux Questions-

I'm not running RHEL but I'll give it my best go to help you.

Creating a file ~/.Xdefaults might help-

http://ubuntuforums.org/showthread.php?t=1896584

Based on your error:
Code:
Warning: Missing charsets in String to FontSet conversion
I'm not 100% sure but I think the charsets are missing.
http://cygwin.com/ml/cygwin-xfree/2013-02/msg00002.html

The fonts are stored in /usr/share/fonts-

The solution for this error:
Code:
Warning: Unable to load any usable fontset
4 steps here:
http://www.artwork.com/gdsii/qckvu/faq/linux_font.htm

Information on xclient handling font rendering in Red Hat
https://access.redhat.com/site/docum...1-x-fonts.html

Hope that helps.


Give a Red Hat Support Engineer a call.
http://www.redhat.com/support/we-are/
 
Old 03-13-2014, 01:03 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
I looked up the last error:
Code:
Warning: Cannot convert string "nil2" to type FontStruct
And found this SOLVED information about it--
https://lists.fedoraproject.org/pipe...ry/393071.html

If this doesn't help than maybe a more experienced member with Red Hat can use these links to help you.

Best regards,
Ztcoracat--
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X11 fonts: how do they work and how to install them adrianmariano Linux - General 3 12-11-2011 12:02 PM
rhel6 ws & X11 drwiley3 Linux - Newbie 1 06-13-2011 04:41 PM
[SOLVED] X11 issues: fonts, x11-common mike11 Linux - Newbie 2 12-28-2010 09:34 PM
X11 conf and fonts questions neilcpp Slackware 3 11-07-2005 01:13 PM
ttf fonts fo X11 jogurt666 Linux - General 4 03-04-2004 01:27 PM

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

All times are GMT -5. The time now is 11:22 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