Request for help with kdm & environment variables
m.koller at surfeu.at
Sat Oct 11 11:35:08 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
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
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
for i in /etc/profile.d/*.sh ; do
if [ -r $i ]; then
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
Public key at:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
More info: http://www.kde.org/faq.html.
More information about the kde