Start X11 automatically when launching programs from Terminal

Ryan Schmidt ryandesign at macports.org
Thu May 16 20:12:28 PDT 2013


On May 16, 2013, at 22:00, Leo Singer wrote:

> I don't know how they differ. I do notice that there is the line:
> 
>    system "launchctl load /Library/LaunchDaemons/org.macports.privileged_startx.plist"
> 
> in the port's post-activate stage. What does that do? Could the port also do:
> 
>    system "launchctl load -w /Library/LaunchAgents/org.macports.startx.plist"
> 
> ?

No it couldn't because launchagents are per-user processes launched at login, whereas launchdaemons are pre-computer processes launched at system startup. Each user needs to start the launchagents themselves if they want them.




More information about the macports-users mailing list