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

Mon Jun 8 20:39:20 UTC 2009
Gary Greene <ggreene at minervanetworks.com>

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Louis Lagendijk
> Sent: Monday, June 08, 2009 12:21 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Cannot get LD_LIBRARY_PATH to work 
> under NX (freenx)
> 
> 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
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

With Konsole, just change the invocation of /bin/bash to /bin/bash -l

--
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239