LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X-windows font problem - please help (https://www.linuxquestions.org/questions/linux-software-2/x-windows-font-problem-please-help-524863/)

Arun_1234 02-01-2007 11:27 PM

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

theNbomr 02-02-2007 10:03 AM

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.


All times are GMT -5. The time now is 01:20 AM.