<br><tt><font size=2>Michael Coffman <michael.coffman@avagotech.com>
wrote on 10/05/2012 18:39:21:<br>
<br>
> Chris,<br>
> <br>
> Thanks for the reply.<br>
</font></tt>
<br><tt><font size=2>> On Thu, May 10, 2012 at 5:49 AM, <chris@ccburton.com>
wrote:</font></tt>
<br><tt><font size=2>> <br>
> freenx-knx-bounces@kde.org wrote on 09/05/2012 15:42:46:</font></tt>
<br><tt><font size=2>> <br>
> <br>
> > Hello,<br>
> > <br>
> > I need help configuring global system fonts for the nxclient
on <br>
> > redhat 6. We have a custom application that requires
custom <br>
> > fonts. On rhel5, I set the following in the node.cfg
file<br>
> > <br>
> > AgentFontServer = "unix/:7100"<br>
> > <br>
> > As of rhel6, redhat no longer has a font server.
Is there an <br>
> > alternative way to add fonts for the nxclient application?
I have <br>
> > tried adding the fonts to the system location for rhel6 <br>
> > /etc/X11/fontpath.d, but nxclient does not seem to honor that
location</font></tt>
<br><tt><font size=2>> <br>
> <br>
> AGENT_FONT_SERVER="unix/:7100"
</font></tt>
<br><tt><font size=2>> so I guess you are using the Nomachine NX server
not FreeNX. <br>
</font></tt>
<br><tt><font size=2>> <br>
> Correct.<br>
</font></tt>
<br><tt><font size=2>> <br>
> Try installing your font(s) in <br>
> <br>
> /usr/share/fonts/local/ <br>
</font></tt>
<br><tt><font size=2>> <br>
> Did you run fc-cache ?? </font></tt>
<br><tt><font size=2>> <br>
> <br>
</font></tt>
<br><tt><font size=2>> It turns out the application itself does not
know how to interact <br>
> with fc so is unable to find the fonts.<br>
> <br>
> By running xset +fp 'path to fonts' in the nxclient, I can get the
<br>
> app to work. Is there a way to do something like this
in the <br>
> nxclient/server config?</font></tt>
<br>
<br><tt><font size=2>Yup</font></tt>
<br>
<br><tt><font size=2> AgentFontServer
= </font></tt>
<br>
<br><tt><font size=2>which sets</font></tt>
<br>
<br><tt><font size=2> -fp </font></tt>
<br>
<br><tt><font size=2>for agent (I think, I don't have one to test )</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>Why don't you put the font somewhere already in fontpath</font></tt>
<br><tt><font size=2>like /usr/share/fonts/local/ ??</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>Do you have your fonts on the client machines ??</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>> I am having trouble figuring
out what <br>
> nomachine reads at start up to define it's fontpath. It
doesn't <br>
> seem to be reading /etc/X11/xorg.conf as changes to the fontpath <br>
> there do not show up in nomachines environment when running xset q.<br>
> <br>
> What is the nomachine startup sequence so that I can globally tweak
<br>
> the fontpath?</font></tt>
<br>
<br><tt><font size=2>
AgentFontServer = </font></tt>
<br><tt><font size=2><br>
> <br>
> Thanks.<br>
> <br>
> > <br>
> > <br>
> > My installation:<br>
> > <br>
> > $ lsb_release -a<br>
> > LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:<br>
> > graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch<br>
> > Distributor ID: RedHatEnterpriseWorkstation<br>
> > Description: Red Hat Enterprise Linux Workstation
release 6.2 (Santiago)<br>
> > Release: 6.2<br>
> > Codename: Santiago<br>
> > <br>
> > $ rpm -q freenx-server nxclient nx<br>
> > <br>
> > freenx-server-0.7.3-18.el6.x86_64<br>
> > nxclient-3.5.0-7.x86_64<br>
> > nx-3.3.0-38.el6.x86_64<br>
> > <br>
> > Thanks.<br>
> > -- <br>
> > -MichaelC </font></tt>
<br><tt><font size=2>> <br>
> <br>
> <br>
> -- <br>
> -MichaelC</font></tt>