[Xquartz-dev] env variables and launchd problem
Dave Ray
apple at jonive.com
Sun Mar 20 18:04:36 PDT 2011
If I launch XQuartz with "startx" at the terminal, my window manager inherits env variables from my /etc/bashrc
If I launch XQuartz by clicking the XQuartz icon, or from the Dock, or by launching an app that invokes X11, the window manager has different env variables passed than from /etc/bashrc. Among other things, PATH is missing /usr/local/bin which is causing things to fail.
I changed my .xinitrc to just run xterm, without a wm, and I ran 'env' within that xterm. The env variables were not from /etc/bashrc, and PATH is missing /usr/local/bin.
Seems like launchd is not passing my env variables from /etc/bashrc. Docs say that launchd should pass them.
Maybe there is a problem with my config, but I don't know where to look. I haven't modified anything in XQuartz.
Suggestions?
More information about the Xquartz-dev
mailing list