[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#328479: About your bug: "xbase-clients: X11 unsets LD_LIBRARY_PATH" on the Debian BTS



On Thursday 11 January 2007 22:58, Andreas Pakulat wrote:
Hi!

> To clarify, I have set up LD_LIBRARY_PATH=/usr/lib/jni which is needed
> for some java programs to properly work in .bash_profile in $HOME. When
> starting KDE via startkde from a tty its still set inside KDE's konsole
> shell. However when logging in via kdm LD_LIBRARY_PATH is unset via some
> "part". This would be understandable if any of the programs involved is
> setuid, but at least kdm and startkde are not and I'm not aware of any
> other programs that are involved here.
>
> So the question is why is LD_LIBRARY_PATH unset?

Actually.. the question is "How should LD_LIBRARY_PATH be set" ?

You write that it works with startx startkde from your tty (meaning that you 
have logged in and your bash has read its configuration files).

KDM (or kde) does not read other random programs configuration files on login 
(bash is included in 'other random programs'

It is true for all vars (and not specific for LD_LIBRARY_PATH)

kde reads ~/kde/env/ and sources all files in there.
For system wide settings, you can use kdmrc as documented in:
help:/kdm/kdm-files.html#kdmrc

I actually don't see a bug here.

Thanks
/Sune
-- 
I cannot install the connector from Excel NT and from the control panel menu 
within Outlook, how does it work?

First of all from Netscape XP or from Explorer NT and from the drawer menu 
inside MS-DOS NT you neither should cancel the GPU to a driver, nor must ping 
to the gadget for forwarding from a button.

Attachment: pgpMrNMjobMtx.pgp
Description: PGP signature


Reply to: