You are not logged in.
Pages: 1
Hi all. This is probably a really easy question to answer, but when my PATH variable is set in /etc/profile and by login it doesnt seem to work in aterm, the full path is not set. However when I dont start X and check the PATH from there it is there in its entirety. Is there a different file read by an x terminal? or what am I doing wrong?
Thanks,
Mike
Offline
try it with xterm and compare to aterm... if they are different, then you need to set aterm to be a login shell (i can look this up later if it's the problem).
if they both still don't have the full PATH, that's something different...
Offline
Thanks for the quick reply.
Xterm doesnt have the full PATH set either.
Any ideas?
-Mike
Offline
Try bash --login as the first command in your aterm/xterm and see if that reloads the path.
You are starting the terminal as a login shell? (ie: xterm -ls)
Dusty
Offline
Thanks dusty - i wasnt starting as a login shell
Offline
you could also add:
xterm*loginShell: true
to your ~/.Xdefaults file if you have one. That's what I have.
Offline
Pages: 1