|
From: David C. <cl...@au...> - 2004-03-11 18:36:51
|
You shouldn't have to set LIBPATH in order to run executables from the Toolbox, if they are properly installed on each system. What apps are you having trouble executing? Although you don't need to set LIBPATH, if you did want to you may want to put it in /etc/profile. That gets executed for every user login prior to their own local .profile. I'm not sure how the Xsession.d files work; I think that /etc/environment should pick it up, though that would be picked up from the environment only when /etc/rc.dt first starts up out of /etc/inittab. So that might not work unless you completely killed all dtlogin processes and then reran /etc/rc.dt. Note also the LIBPATH is an environment variable with unique properties; it does not stay in your enviroment as you switch from one user to another, unlike all other variables. This feature may be influencing your setup. But again, if you are only trying to do this for the Toolbox, it should not be necessary. On Thu, Mar 11, 2004 at 11:42:46AM +0200, Maria Tsiolakki wrote: > Hello, > > we have installed the aixtoolbox, on several AIX machines, in a students > lab. We have problem execution in the CDE environment with some > applications, because we can not find a way to define the LIBPATH in the > CDE environment. We have added the LIBPATH=$LIBPATH:/opt/freeware/lib, > in the /etc/environment but it can not work. We have also created a file > with the variable and placed it under /etc/dt/config/Xsession.d/, but it > only works for the root, and NIS users. > > We would like to find a solution to be applied on machines, instead of > trying to convinced our students to add the LIBPATH, in there .profile file. > > Thank you > > Maria > > _______________________________________________ > aixtoolbox-list mailing list > aix...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list -- David Clissold cl...@au... |