You are not logged in.
Hi! I noticed that if I login as root via agetty
my $PATH contains /sbin;/opt/mozilla etc.
However, if I login as root via Qingy.
The $PATH is different, it doesn't has something like /sbin;/usr/sbin etc.
Can someone explain what happened after init load Qingy/agetty and how they find out what the $PATH is.
thanks
Offline
Double Posting Gets You No(responses)where
Offline
Double Posting Gets You No(responses)where
Sorry if double posting is forbidden here. But I didn't realize that Qingy caused the problem when I posted the $PATH message in "Newbie".
Anyway, I realized that the problem is not Qingy itself.
If I login as root from Qingy, but to Text Console. Everything is ok. My $PATH seems the same as regular login.
However, when I am login into X from Qingy, the $PATH is different then.
Offline
@phabulosa
Have asked this question myself some time ago here with no luck.
http://bbs.archlinux.org/viewtopic.php?id=41860
The important thing for me would be to find out how to set up qingy to have no change in behaviour compared to e.g. startx on my system, the proper way.
Bye, signor_rossi.
Offline
same problem here! starting to use qingy and noticed this, i have a long path in ~/.bashrc and loggin in via qingy seems to ignore this path :S confused...
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery
Offline
@signor_rossi, if your hack works, I say go with it, and write the qingy dev(s). I haven't ever differentiated between bashrc and bash_profile, but over here:
http://bbs.archlinux.org/viewtopic.php?id=36343
Dusty says:
Plus, if you put that alias in your .bash_profile instead of your .bashrc, it should only be sourced for interactive sessions anyway, which means scripts won't touch it. You could even enforce this by testing in your mod_rm function to ensure you are in a login shell (I can't remember the command, I think you have to check an environment variable of some sort).
Maybe Qingy is looking at one and not the other?
Oh, and I just stumbled upon this:
http://bbs.archlinux.org/viewtopic.php?id=45038
Looks promising.
Hope this helps. :-)
fffft!
Offline