As per mailing list: profile.d not load, and other queries in the past, users want to be able to load /etc/profile
or other scripts and inject the output into the server environment.
We should make it easier to do that.
Implemented in r25872.
Examples:
$ cat > server.env <<EOF export FOO=bar export BAR=2 EOF $ cat > start.env <<EOF export BAR=1 EOF xpra start --start=xterm --source=./server.env --source-start=start.env
Then the server environment will have FOO=bar
and BAR=2
whereas all commands started by the server (ie: xterm) will have FOO=bar
and BAR=1
.
More commonly, this is likely to be used as:
xpra start --start=xterm --source-start=/etc/profile
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2688