Quartz no longer launching when an X application is invoked

Ryan Schmidt ryandesign at macports.org
Mon Dec 4 16:08:18 UTC 2023


On Dec 3, 2023, at 18:28, Kevin Horton wrote:
> 
> I find in ~/.zprofile
> 
> # MacPorts Installer addition on 2020-12-29_at_06:08:54: adding an appropriate DISPLAY variable for use with MacPorts.
> export DISPLAY=:0
> # Finished adapting your DISPLAY environment variable for use with MacPorts.
> 
> My other machine also has a ~/.zprofile, but it only sets the PATH.  it does not set DISPLAY.
> 
> I surmise that MacPorts stopped fiddling with DISPLAY sometime between late 2020 and late 2021.  Maybe there should be some automatic check of DISPLAY in .zprofile, and a it could offer to clean it up if needed.

The MacPorts 2.6.4 installer for macOS 11 inadvertently added the DISPLAY=:0 setting to shell startup files. The bug was corrected in MacPorts 2.7.0 but no code was ever added to clean up the mess for users who had already used the 2.6.4 installer. 

https://trac.macports.org/ticket/61649

Could you file a new ticket to do that cleanup? Bonus points if you want to submit a pull request to implement it. See:

https://github.com/macports/macports-base/pull/218#issuecomment-739666236


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20231204/b5124abf/attachment.htm>


More information about the macports-users mailing list