From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. "grep Path /etc/X11/gdm/gdm.conf" 2. Read output carefully. 3. Think. Actual Results: There are three problems with these paths. First, /usr/bin appears twice in each of them. This is just silly. Second, /usr/bin/X11 is not an FHS-compliant path. It happens to work thanks to a blecherous backwards-compatibility symlink, but I suggest that /usr/X11R6/bin would be cleaner. Third, and the thing which made me notice this, is that /usr/bin appears BEFORE /usr/local/bin. This is bad; normal Unix admin practice is to put stuff in /usr/local to override the versions supplied by the vendor. Every other default PATH setting I have ever seen puts /usr/local/bin first, which makes sense. I suggest moving it earlier, for consistency with what everything else (e.g., /etc/profile) tries to achieve. Expected Results: See above. Additional info: One workaround is to create /etc/environment with the PATH of your choice. That is what I did here... (By the way, thanks for a generally excellent product.)
stripped them down to reflect the minimal paths that /bin/login sets. The rest gets done via profile.