How to change environment variables of a parent envrionment from a child one.
I have the folowing scenario:
I login. This starts BASH, with the proper environment; let's call this enviroment MAIN ENVIRONMENT; it has the folowing variables definiton: x=x_main; y=y_main. Now i issue startx. Everithing it's fine, works as i expect. Now i start xterm for example. From this, I want to change a environment variable from MAIN ENVIRONMENT, without closing a sinle window, nor X. Is here any way to do this?
The problem is that i want to cahnge the enviroment variables, and the changes to be reflected in every new started application, this without loging out, closing a windows or something...