[CentOS] Cannot get LD_LIBRARY_PATH to work under NX (freenx)

Mon Jun 8 18:38:30 UTC 2009
Andrzej Szymanski <szymans at agh.edu.pl>

Hello,

I'm trying to get the LD_LIBRARY_PATH set from .bash_profile (Centos 5.3 
fully updated).

This is a part of my .bash_profile:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/szyman/omnet/omnetpp-2.3p1/lib
export R_HISTSIZE=2000000000

Everything works fine under standard ssh login, but under NX client the 
LD_LIBRARY_PATH variable is missing (the R_HISTSIZE is exported properly).

Any hints?

Thanks,
Andrzej