can I set LD_PRELOAD in jaunty?

Bill Marcum marcumbill at bellsouth.net
Fri Jun 26 13:07:23 UTC 2009


On 2009-06-26, Cameron Hutchison <lists at xdna.net> wrote:
><mr.lequoctuan at gmail.com> writes:
>
>>I try to add this line to .profile
>> "export LD_PRELOAD=..."
>>but after login (tty7), no thing goes
>>I thing it has unset
>>if I login use tty1, it set
>
>>has ubuntu disable LD_PRELOAD in X11?
>
> When you log in with X11, you are not running a login shell anywhere, so
> ..profile will not be run. This means none of your settings in .profile
> will get loaded in an X11 session. When you start a X11 terminal, it
> will not run a login shell, so .bashrc will be loaded, not .profile.
>
I think in gnome-terminal preferences you can choose whether or not the
terminal runs as a login shell.






More information about the ubuntu-users mailing list