Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
2
Newest
 Scholar
Impact
~232 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
4
awarded  Scholar
Oct
4
accepted Different behaviour of script locally and over ssh
Oct
4
comment Different behaviour of script locally and over ssh
I solved this issue ultimately by making changes to the change-environment script and adding the missing environment there. Even the accepted solution is not exactly complete bcoz even though they point to the root of the problem (the environment is not getting set), I believe there should still be a more generic solution... atleast I hope so... Thank you Adrian,user694971 and Martin Baulig for the suggestions...
Oct
1
awarded  Student
Oct
1
comment Different behaviour of script locally and over ssh
Also I have added the -l option to bash... so it should be sourcing the .profile automatically I guess
Oct
1
comment Different behaviour of script locally and over ssh
The change-environment script makes a lot of changes to the environment. So it is difficult to keep track of all the changes.
Oct
1
comment Different behaviour of script locally and over ssh
Thanks for the reply.. Only the usr/X11/bin and usr/X11R6/bin are missing when I do the same thing from the command.
Oct
1
asked Different behaviour of script locally and over ssh