xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 18 months ago

Closed 18 months ago

Last modified 8 months ago

#2688 closed enhancement (fixed)

make it easier to source environment

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: server Version: 3.0.x
Keywords: Cc:


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.

Change History (2)

comment:1 Changed 18 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

Implemented in r25872.


$ cat > server.env <<EOF
export FOO=bar
export BAR=2
$ cat > start.env <<EOF
export BAR=1
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

comment:2 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2688

Note: See TracTickets for help on using tickets.