Opened 6 years ago

Closed 5 years ago

#297 closed task (Not To Be Fixed)

use with-login-env to set up user environment

Reported by: cs@… Owned by: jeremyhu@…
Priority: Nice to Have Milestone: 2.5.0
Component: xserver Version:
Keywords: Cc:


Some months back, in the "2.3.2_rc4" thread at:

we worked out a shell script that reliably execs an arbitrary command with the user's login environment by sourcing the right stuff according to the user's shell and carefully preserving command line arguments for the exec.

Jeremy was going to use this in the "open a terminal" etc menu items that the X server offers.

My reference copy of the script is available here:

and I attach a copy of the script to this bug for immediate use.

Cheers, Cameron Simpson

Attachments (1)

with-login-env (1.3 KB) - added by cs@… 6 years ago.
with-login-env script

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by cs@…

with-login-env script

comment:1 Changed 5 years ago by jeremyhu@…

  • Priority changed from blocker to minor

comment:2 Changed 5 years ago by jeremyhu@…

  • Resolution set to wontfix
  • Status changed from new to closed

I've thought about this a bit, and I think that "X11" is not the right project for this enhancement request.  We are doing most of the guts of this already in the start script inside the app.  I suggest you file this as a feature request at

Note: See TracTickets for help on using tickets.