Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.