Running launchctl from tmux

Kendall Shaw at
Tue Apr 18 23:41:13 UTC 2017

This is sort of on topic because I installed tmux via macports…

I can do this to set environment variable as as non-root user:

launchctl setenv BLAH blah

But, within tmux I get:

Not privileged to set domain environment.

I find posts on the internets suggesting running tmux with sudo, but then I am running as root which is not what I want to do.

Do you know what sort of permission I need to grant what to be able to use launchctl as myself within tmux?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list