[FreeNX-kNX] black screen after authentication

Alastair Johnson alastair at solutiontrax.com
Wed Nov 14 15:13:50 UTC 2007


On Wednesday 14 November 2007, Michael Oevermann wrote:
> Hi, thanks for the hints. I am using
>
> nx-3.0.0-4.el4.centos.x86_64
> freenx-0.7.1.svn416-2.el4.centos.x86_64
>
> from CentOS-4. I hope they have fixed the 64 bit issue.

nx-3.0.0 should be fine of 64 bit.

> In nxloadconfig I find the following paths I probably need to change
>
> # Advanced users ONLY
> AGENT_LIBRARY_PATH="" #Calculated
> PROXY_LIBRARY_PATH="" #Calculated
> APPLICATION_LIBRARY_PATH="" #Calculated
> APPLICATION_LIBRARY_PRELOAD="" #Calculated

You probably want to look a few lines earlier ;-) This is what it looks like 
on a 64bit FC7 box but your paths differ - see below.

NX_DIR=/usr
PATH_BIN=/usr/libexec/nx # if you change that, be sure to also change the 
public keys
PATH_LIB=/usr/lib64/nx
NX_ETC_DIR=/etc/nxserver
NX_SESS_DIR=/var/lib/nxserver/db
NX_HOME_DIR=/var/lib/nxserver/home


> But where do they actually need to point to? What are the necessary
> libraries
> for agent, proxy, etc. For example, under /usr/lib64/NX/lib I find
>
> libX11.so.6    libXcompext.so.3      libXcompshad.so.3
> libXcomp.so.3      libXext.so.6    libXrender.so.1
> libX11.so.6.2  libXcompext.so.3.0.0  libXcompshad.so.3.0.0
> libXcomp.so.3.0.0  libXext.so.6.4  libXrender.so.1.2.2
>
> Is /usr/lib64/NX/lib then the path for the agent, the proxy, or the
> application?

Looks to me like yo need:
PATH_LIB=/usr/lib64/NX/lib

> Furthermore, I have different nxagent sitting around which are
> different, e.g.
>
> /usr/bin/nxagent
> /usr/lib/NX/nxagent
> /usr/lib64/NX/nxagent
>
> Which is the one I should use?

Do you have both 32bit and 64bit nx libs installed? Check for symlinks and 
wrappers.

I think you need:
PATH_BIN=/usr/lib64/NX

>
> Michael




More information about the FreeNX-kNX mailing list