[MacPorts] #62036: git @2.30.0: gui and gitk commands don't work: Error in startup script: couldn't connect to display ":0"

MacPorts noreply at macports.org
Tue May 18 20:57:53 UTC 2021


#62036: git @2.30.0: gui and gitk commands don't work: Error in startup script:
couldn't connect to display ":0"
-------------------------+----------------------
  Reporter:  mohd-akram  |      Owner:  ci42
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  git         |
-------------------------+----------------------

Comment (by mohd-akram):

 You can just silence that warning as they say by adding `export
 TK_SILENCE_DEPRECATION=1` to your shell profile. You have three options
 basically, do either of them:

 - `sudo port uninstall tk` or
 - `sudo port install tk +quartz` or
 - `sudo port install tk xorg-server`

 I use the first.

-- 
Ticket URL: <https://trac.macports.org/ticket/62036#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list