Request for help with kdm & environment variables

Martin Koller m.koller at surfeu.at
Sat Oct 11 11:35:08 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Robert,

On Friday 10 October 2003 15:11, Robert P. Goldman wrote:
> Many thanks to both Kevin Krammer and Martin Koller for their
> suggestions.  But I'm a little disappointed to see that both of these
> involve violating the privilege wall between normal users and root.
> Both solutions involve modifying the overall KDE installation on a
> particular host (this also means that any updates will destroy the
> solution).

The solution I gave will not be destroyed when upgrading KDE, because in fact 
it is not KDE specific.
The env files in the /etc/profile.d directory are used by e.g. /etc/profile 
itself:
for i in /etc/profile.d/*.sh ; do
    if [ -r $i ]; then
        . $i
    fi
done

KDEs kdm executes (on my machine) /opt/kde3/share/config/kdm/Xsession, and in 
there you see, that Xsession does
test -f /etc/profile && . /etc/profile
test -f $HOME/.profile && . $HOME/.profile
test -f /etc/xprofile && . /etc/xprofile
test -f $HOME/.xprofile && . $HOME/.xprofile

So you can of course define variables for all users (/etc/profile.d) or for 
specific users ($HOME/.profile)

>
> Is this really necessary?  And if it IS necessary, is there some
> reason that KDE doesn't come with an environment variable-setting
> panel like the one that's in Windows?

You're right, a nice gui for this sort of things is currently missing.

- -- 
Best regards/Schöne Grüße

Martin

Public key at:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x8DFB0F86
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/h9zcHmdPoI37D4YRAoKHAKCtecb21L0q65VP/x2TueXFxJglYgCfbjhc
3RCTe8A5ky/eKg2Up/QzBUI=
=p9tQ
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list