Bug 140101 - KDM clears environment for new sessions
Summary: KDM clears environment for new sessions
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Alpha 4
Hardware: PC Linux
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 21:52 UTC by Björn Voigt
Modified: 2006-02-04 13:49 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Voigt 2005-12-18 21:52:15 UTC
Since OpenSuSE 10.1 alpha 4 the K desktop manager (KDM) clears the environment variables for new sessions. It's regardless, which session the user starts with KDM (for instance kde, twm, ...). 

The only exception is the session "failsafe". In failsafe the environment is not cleared.

I think, clearing the environment variables is a bug, because users expect, that they can set environment variables with /etc/profile.local and $HOME/.profile scripts.

The PATH-settings from /etc/profile and /etc/profile.d/*.sh are also cleared by KDM. This is the minimal PATH after starting a KDE session:

$ echo $PATH
/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games

I don't know, if KDM itself clears the environment. It's also possible that a X startup script clears the environment or the profile files are never read.
Comment 1 Michael Gross 2005-12-19 15:34:18 UTC
Let's ask the KDE maintainers. This could be an intended behaviour?
Comment 2 Björn Voigt 2006-02-04 13:49:39 UTC
Someone has probably fixes this bug already. I can not find this bug in 10.1 Beta1.