>> Bernhard said:
>>>...the fonts in the menu are missing. Instead, gray boxes appear.
>>>Maple uses a Motif interface and has got its own fonts in a seperate
>>>directory. How can I load these fonts? Or is it a different problem.
>>>
>>>The gray boxes appear in the standard wm as well as in kde.


>> I had the same font problem (but not using Maple).  Changing the font
path
>> in the vncserver script didn't work.  The vncserver just refused to
start,
>> even though the font paths were correct and the permissions were wide
open.
>> The only way I could get the fonts to work was to start the xfs font
>> server, tell xfs where my fonts were, and put the following line in my
>> vncserver script under the "#Add font path..." comment:
>>
>> $cmd .= " -fp tcp/:7100";


>Thanks for your help, but this doesn't work for me. How can I tell xfs
where 
>my fonts are?


You can pass the xfs font server a configuration file to use at startup.  In
that file you put the paths to the fonts you want it to serve.  Create a
file in /etc called xfs.conf (or you can name it whatever you want), and
enter the following information in it and save it (the font paths here are
just the default paths... change to your custom paths):


client-limit = 10
clone-self = on
catalogue = /usr/X11R6/lib/X11/fonts/Speedo/,\
/usr/X11R6/lib/X11/fonts/misc/,\
/usr/X11R6/lib/X11/fonts/100dpi/
default-point-size = 90
default-resolutions = 100,100,75,75
error-file = /var/log/xfs_errors


This will give you a default point size of 9.  A point size of 10 would be
'100' in the config file, 12 would be 120, etc.  You could leave that line
out altogether also.

If you have a RedHat-like distro, you can edit the /etc/rc.d/rc.local file
and enter this line at the bottom:


/usr/X11R6/bin/xfs -config /etc/xfs.conf &


This will cause it to start up when you reboot.  Then you can type the same
thing on the command line to start it up manually the first time.  You can
look in /var/log/xfs_errors if it does anything weird, but if your font
paths aren't right it will tell you immediately on the command line.  Or you
could make your own start/stop control script in /etc/init.d (for Debian) or
/etc/rc.d/init.d (for RH derivatives).  That's what I did.  If you want my
config, let me know.

 - Todd
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to