[FreeNX-kNX] Getting freenx working on Ubuntu breezy, plus some notes on FONTDIR.

Nicholas Lee emptysands at gmail.com
Sun Oct 16 08:40:10 UTC 2005


With some help from the mailing list archives I move to upgraded 
breezy and shifted back to freenx from the !M server I was testing.

I might try get the !M server going again, now I understand why it
didn't work in the first place.

Anyway here are some notes about the process.

Edit /etc/nxserver/node.conf and change:
# 'xauth'.
COMMAND_XAUTH=/usr/bin/xauth

Add at least

AGENT_EXTRA_OPTIONS_X="-fp /usr/share/X11/fonts/misc/"

but if you want addition font paths:
AGENT_EXTRA_OPTIONS_X="-fp
/usr/share/X11/fonts/misc/:/usr/share/X11/fonts/100dpi/:/usr/share/X11/fonts/75dpi/"

Another option is

sudo ln -s /usr/share/X11/fonts/ /usr/X11R6/lib/X11/fonts

The long term best method to fix this in breezy is probably to change nxagent:

nic at bdesktop:~/src/nx/tmp/1.5.0.2-old/nx-X11/programs/Xserver/dix$
grep DEFAULTFONTPATH Makefile
DEFAULTFONTPATH =
$(FONTDIR)/misc/,$(FONTDIR)/Speedo/,$(FONTDIR)/Type1/,$(FONTDIR)/75dpi/,$(FONTDIR)/100dpi/,$(FONTDIR)/TTF/
SITE_FONT_PATH = -DCOMPILEDDEFAULTFONTPATH=\"$(DEFAULTFONTPATH)\"

Since Debian will probably move to the same arrangement at some point
with the Xorg transition I expect !M will have to update their code to
reflect this anyhow.


I've merged the libnx source files I have and put together a
subversion repository with a vendor. At some point in the next couple
weeks I'll probably tidy this all up and posted an update Freenx entry
on my blog.  I'm trying out Xen 3.0 (unstable) with a new machine so
might be longer.


PS: FreeNX/Breezy seems to be faster than !M NX/Hoary.  Then again
that could be the updated libs.

--
Nicholas Lee
http://stateless.geek.nz
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C



More information about the FreeNX-kNX mailing list