[FreeNX-kNX] fedora core 5

tom.horsley at att.net tom.horsley at att.net
Sat Mar 25 21:15:01 UTC 2006


> Has anyone managed to get NX 1.5 / FreeNX 0.4.4 running on FC5? 
> Everything seemed OK when I built Rick Stout's SRPMS [1], but the 
> session doesn't start (from a Windows client).
> 
> $ cat ~/.nx/*/session
> /usr/lib/NX/nxagent: error while loading shared libraries: 
> /usr/lib/NX/lib/libXcomp.so.1: cannot restore segment prot after reloc: 
> Permission denied

Well, the first thing I do is turn off selinux, and I have no problems
running with Rick Stout's FC5 rpms installed, but I do have to hack
the binary for /usr/lib/NX/nxagent and modify a /usr/X11R6/lib/X11/
path that is built into the binary to point to /usr/share/X11/
instead (which, fortunately, is a shorter string so I can hack the
binary and pad out the stored string initializer with null bytes).

Without this hack, no X clients that try to lookup color names
in rgb.txt seem to work.

On the selinux front, I always got the impression that the goal of
a secure OS was to make your computer act as much like a brick as possible,
so if I want a secure OS, I'll just get a brick (works just as well
and it easier to administer :-).



More information about the FreeNX-kNX mailing list