MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here's my problem I've set up my Mandrake 9.2 server to XDMCP broadcast. My remote client is a wyse 5150se thin client. It works great except for this one application which requires it's own "special" xfonts which are located in the application's source directory under /usr. How do I get the client to recognize those fonts? I tried puting them explicitly in the XF86Config-4 file under FontPath=. I've tried logging in to a bash prompt and using xset +fp to set the path. The xset chokes on the xset giving me the syntax. Which I follow exactly and it doesn't seem to work. I'm stuck how do I get the client to use the fonts I need for them to use?
Ok, thanks for the tip btw. I ran the mkfontdir using the syntax $ mkfontdir <path to fonts> which built a file called fonts.dir in the path to the fonts I'm trying to use.
I then ran $xset fp rehash which per the man page I should do after a mkfontdir. Here's what I'm getting for errors:
xset: bad font path element (#55), possible causes are:
Directory does not exist or has the wrong permissions --- directory exists and has 777 permissn
Directory missing fonts.dir --- file is in the fonts directory
Incorrect font server address or syntax --- this might be the problem
Hint:
Look for the path where the font msfg0816cb.bdf is
$ find / -name msft0816cb.dbf -print
and set the font path to this path
$ xset +fp <found path>
You can add the xset command to your /u/cptall/.openwin-init script file.
Now i've done the find the font is located in /usr/FSsrc/xfonts.
I ran a mkfontdir in that path as cptall (the application owner username) and created the font.dir.
I ran an xset fp rehash
I then ran the recommended xset command
$xset +fp /usr/FSsrc/xfonts
I get these errors:
xset: bad font element (#55), possible causes are ....
which is the same error I get when I tried to run the application.
Now the really interesting part is if I run the application from the console in a terminal window it runs just great. I get this problem when I run the application in a terminal window on a client. I must say this is confusing the heck out of me. Is it looking for the font on the client or on the server. Needless to say I'm massively confused and beginning to hate Xwindows, LOL.
I'm not worthy. That worked like the proverbial charm. Good grief that was a sweat maker. Thank you sir or madam you've saved my sanity. I've been fighting with getting this application working through a remote xterm on and off for about 3 months. You have my graditude.
And I must say that in more than 20 years of experience in the computing professional community I've worked on nearly every OS from IBM DOS (not PC Dos missed that one some how) to MS DOS to HP MPE, MPE/XA to about a dozen flavors of UNIX I've become a huge fan of the linux community in general and the Mandrake community in particular for just plain willingness to help strangers in their strange land.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.