Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-01-2007, 11:27 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Question X-windows font problem - please help

Hello folks,

I am trying to run an Linux application (done in GTK) over an X-windows session from Windows. I use Xming as the X-server, and Ubuntu (Edgy Eft) as the Linux distro. When I run the app, text doesn't appear on the GUI and I see error messages of the following sort in the logs:

"SetFont courB14 failed"

The X-server is apparently not able to find a particular font. The logs output by the program sadly don't give any further information, and I don't have access to the source-code right now.

My questions:

1. In your opinion, is the issue diagnosis correct, or could something else be wrong? I know this is not a bug because I have seen the same binary work elsewhere.

2. What would you say is the font file I should install to fix this problem? Where can I get it from?

I apologize if this is a newbie question - I am not a Linux power-user by a long shot!

Also, many thanks in advance!

- Arun
Old 02-02-2007, 10:03 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The easiest solution may be to set up your Ubuntu host as a font server, and then point your X server at the font server. To start the X font server, you can probably do, as root:
/sbin/service xfs start
(hoping Ubuntu does things similarly to RH)
To make the X server get its fonts from that server is probably a configuration item you can get to through a menu somewhere; just guessing, but that is the way it is done on any other Windows hosted X servers I've used. The X server probably has a configuration menu to allow it to use fonts already installed on the Windows host, as well. Courier fonts should be present on almost any host, I would expect.
--- rod.


font, xming, xwindows

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
Can't Start X Windows. Font Problem? King of Japan Linux - Newbie 7 10-13-2005 04:23 PM
font problem with openoffice windows fonts Pete Dogg Linux - Software 8 11-02-2003 04:12 AM
Font size of WIndows under RH 80 fischtoeter Linux - General 3 11-28-2002 03:23 AM
changing font out of X windows ... ? purpleburple Linux - General 4 10-13-2002 01:55 PM
X-windows opens with giant font timnphx Linux - Software 1 03-20-2001 10:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:12 AM.

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