[FreeNX-kNX] nxclient custom fonts on rhel6

chris at ccburton.com chris at ccburton.com
Sat May 12 13:43:09 UTC 2012


Michael Coffman <michael.coffman at avagotech.com> wrote on 10/05/2012 
18:39:21:

> Chris,
> 
> Thanks for the reply.

> On Thu, May 10, 2012 at 5:49 AM, <chris at ccburton.com> wrote:
> 
> freenx-knx-bounces at kde.org wrote on 09/05/2012 15:42:46:
> 
> 
> > Hello,
> > 
> > I need help configuring global system fonts for the nxclient on 
> > redhat 6.   We have a custom application that requires custom 
> > fonts.   On rhel5, I set the following in the node.cfg file
> > 
> > AgentFontServer = "unix/:7100"
> > 
> > As of rhel6, redhat no longer has a font server.   Is there an 
> > alternative way to add fonts for the nxclient application?   I have 
> > tried adding the fonts to the system location for rhel6 
> > /etc/X11/fontpath.d, but nxclient does not seem to honor that location
> 
> 
>         AGENT_FONT_SERVER="unix/:7100"   
> so I guess you are using the Nomachine NX server not FreeNX. 

>  
> Correct.

> 
> Try installing your font(s) in 
> 
>         /usr/share/fonts/local/ 

> 
> Did you run fc-cache ?? 
> 
> 

> It turns out the application itself does not know how to interact 
> with fc so is unable to find the fonts.
> 
> By running xset +fp 'path to fonts' in the nxclient, I can get the 
> app to work.   Is there a way to do something like this in the 
> nxclient/server config?

Yup

         AgentFontServer = 

which sets

         -fp 

for agent (I think, I don't have one to test )



Why don't you put the font somewhere already in fontpath
like /usr/share/fonts/local/ ??



Do you have your fonts on the client machines ??



>    I am having trouble figuring out what 
> nomachine reads at start up to define it's fontpath.   It doesn't 
> seem to be reading /etc/X11/xorg.conf as changes to the fontpath 
> there do not show up in nomachines environment when running xset q.
> 
> What is the nomachine startup sequence so that I can globally tweak 
> the fontpath?

                AgentFontServer = 

>  
> Thanks.
> 
> > 
> > 
> > My installation:
> > 
> > $ lsb_release -a
> > LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:
> > graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
> > Distributor ID: RedHatEnterpriseWorkstation
> > Description:    Red Hat Enterprise Linux Workstation release 6.2 
(Santiago)
> > Release:        6.2
> > Codename:       Santiago
> > 
> > $ rpm -q freenx-server nxclient nx
> > 
> > freenx-server-0.7.3-18.el6.x86_64
> > nxclient-3.5.0-7.x86_64
> > nx-3.3.0-38.el6.x86_64
> > 
> > Thanks.
> > -- 
> > -MichaelC 
> 
> 
> 
> -- 
> -MichaelC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120512/21550402/attachment.html>


More information about the FreeNX-kNX mailing list