[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] path & kdm
From:       Jim Philips <jimmyc () speedfactory ! net>
Date:       2005-06-15 19:13:21
Message-ID: 200506151913.21482.jimmyc () speedfactory ! net
[Download RAW message or body]

On Wednesday 15 June 2005 07:29 pm, James Richard Tyrer wrote:
> Matteo Angeloni wrote:
> > Dear all,
> > I think that kdm does some modifications to the path before launching X
> > or  a personal account. In fact I can see that /usr/games is in my PATH
> > (not  for root). This happens only when I log in through kdm, otherwise
> > if I use  a normal login + startx script, that directory (which btw does
> > not even  exist) is not in my path.
>
> For reasons which I do not understand, the author of KDM thinks that it
> should change the PATH as default. :-|  The latest change to add:
> "/usr/games" is just plain weird. :-)
>
> > How can I change the behaviour in this case?
>
> To fix this, you must edit the file:
>
> 	$KDEDIR/share/config/kdm/kdmrc
>
> There are two parameters in the [X-*-Core] section.  If your path is
> being set correctly by other scripts, these need to be set to the same
> as: "init" should set it:
>
> UserPath=/bin:/usr/bin:/usr/local/bin
>
> SystemPath=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
>
> Be sure that: "/usr/X11R6/bin" {your path may vary} is being added to
> your path before X is started.  Normally this is done in: "/etc/profile".

This has been plaguing me ever since I upgraded to 3.4.1. Once again, when I 
select KDE as my session in KDM, it starts an xterm and KDE will only start 
when I type "startkde" in that xterm. I solved it earlier by adding all paths 
in /eetc/profile. Now /opt/kde/bin is there and so is /usr/X11R6/bin. But KDM 
somehow ignores all of this.
___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic