On Mon, 2009-06-08 at 21:04 +0200, Andrzej Szymanski wrote:
Thanks for a fast resolution.
However, moving this to .bashrc is a workaround. If I log in graphically to the console the LD_LIBRARY_PATH from .bash_profile is set correctly. It is unset only on NX session (and the other settings from .bash_profile are set properly, so this file is definitely parsed during nx session startup).
As suggested before some terminals do not run as login-shell. Gnome-terminal has an option (under edit-> profile preferences -> title and command that allows you to change this behaviour: Run command as login shell. You may want to check your terminal program for a similar setting Louis