View Single Post
Posts: 3 | Thanked: 0 times | Joined on Nov 2011
#4
Originally Posted by poseidon.linux View Post
Well, if you can tell me which one is the right one I could... let me explain better...

(to be complete...using "echo $PATH" at the N800 X terminal I get... "/usr/bin:/bin")

While... using "echo $PATH" at the chroot Debian terminal I get a much longer list of variable. However, if I go and look at these files:

/etc/environment (which was originally as 100% empty)
/etc/profile
/etc/bashrc
/root/.profile
/root/.bashrc

None reflects the exact same paths that I saw at "echo $PATH" at chroot terminal... and even if the final path was a combination of all, some paths seen would be still missing and coming from somewhere else.

Honestly, I edited /etc/environment and /etc/profile with my paths and none seams to work.

For me the environment paths (at Easy Debian) must are stored somewhere else. Any ideas?
Well, I saw that using the chroot LXDE graphical interface (from Easy Debian) the paths are correctly used by the graphical terminal (only while inside LXDE). However, it's strange that chroot terminal doesn't get the same path settings.

Any idea why this different behavior between the two?