You are not logged in.
instead of setting the proper profile, it sets one like
/bin:/usr/bin:/usr/games:/usr/local/bingdm doesn't have this problem, though it doesn't seem to allow passwordless logins, (if it did, i'd use it):
This here didn't work:
http://ubuntuforums.org/showthread.php?p=142273
doesn't seem to be much in the way of profiles in the config at /opt/kde/share/config/kdm, and sourcing /etc/profile in the Xstartup script there doesn't help.
Thanks in advance
Last edited by vogt (2007-05-16 23:17:23)
Offline
Hello,
instead of setting the proper profile
What do you mean by the 'proper profile' ?
Can you give more details on what you are trying to do ?
Did you have a look at /etc/profile.d/kde ?
Offline
I mean, kdm does not source /etc/profile directly, therefore without a symlink from /opt/mozilla/bin/firefox to somewhere within that path, firefox, or any other program outside of /bin:/usr/bin:/usr/local/bin does not get run without specifying the whole path (which I would rather not do from dmenu).
I don't believe that
/etc/profile.d/kde
is sourced by kdm; the path kdm sets does not contain anything from /opt/kde, which is what /etc/profile.d/kdm is meant to do.
none of the config files i've looked at mention a /usr/games, and neither is /usr/local/bin. It would seem to be like some default path chosen by kdm?
How to change the path set by kdm is the larger question.
Offline
I also use Kdm and Firefox and I do not have this problem.
The way things work in arch :
/etc/profile sources every files from /etc/profile.d
If the path to your firefox binaries is not present in either /etc/profile or any of the files in /etc/profile.d, then there is not chance to have it in your path.
Can you please post the contain of your /etc/profile file within a [ code ] tag
and the result of the command :
grep "firefox" /etc/profile /etc/profile.dThank you !
Cheers,
Chicha
Offline
I mean, kdm does not source /etc/profile directly, therefore without a symlink from /opt/mozilla/bin/firefox to somewhere within that path, firefox, or any other program outside of /bin:/usr/bin:/usr/local/bin does not get run without specifying the whole path (which I would rather not do from dmenu).
I don't believe that
/etc/profile.d/kde
is sourced by kdm; the path kdm sets does not contain anything from /opt/kde, which is what /etc/profile.d/kdm is meant to do.none of the config files i've looked at mention a /usr/games, and neither is /usr/local/bin. It would seem to be like some default path chosen by kdm?
How to change the path set by kdm is the larger question.
I had a similar problem, with the /etc/profile.d/ entries not being properly sourced. I found out (at least I think that's what was the problem) that I sourced /etc/profile in the wrong startup file - I had it in zshrc while it should be in zshenv in order to be sourced in the login shell (at least I think that was the reason - correct me if I'm wrong, someone).
I can't remember what the equivalent files are called in bash - bashrc and init-something?
Offline
You have .bashrc and .bash_profile
.bashrc is used in an interactive shell
.bash_profile is used in a login shell
Offline
btw, using zsh, though the problem exists when using bash;
kdm doesnt source /etc/profile by itself,
unlike gdm, or login (linux terminal), so adding
source /etc/profileto ~/.zshenv, or ~/.bash_profile sets the path for everything: dmenu, and in terminals
Last edited by vogt (2007-05-16 23:16:56)
Offline