[MacPorts] #61649: xorg not setting DISPLAY variable on Big Sur

MacPorts noreply at macports.org
Thu Dec 3 14:37:02 UTC 2020


#61649: xorg not setting DISPLAY variable on Big Sur
-----------------------+----------------------
  Reporter:  collamaf  |      Owner:  jeremyhu
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:
      Port:  xinit     |
-----------------------+----------------------

Comment (by cjones051073):

 Replying to [comment:28 collamaf]:
 > Replying to [comment:27 cjones051073]:
 > > Yes, something in your account is setting DISPLAY when it shouldn't.
 you need to find this and remove it.
 > >
 > >  - Does `grep DISPLAY ~/.* ` show anything ?
 > >
 > >  - If not, you need to go through all your login scripts (~/.profile,
 ~/.zshrc etc.) and see if there is anything you are doing there that could
 be (indirectly) setting this. Do you source anything external ?
 > >
 > >  - What terminal emulator application are you using ? Try searching
 the preferences for that to see if you are doing anything there.
 > ok, I will go through these possibilities.
 > For now, the grep command gives this output:
 > {{{
 > /Users/chicco/.zprofile:# MacPorts Installer addition on
 2020-11-15_at_16:10:30: adding an appropriate DISPLAY variable for use
 with MacPorts.
 > /Users/chicco/.zprofile:export DISPLAY=:0
 > /Users/chicco/.zprofile:# Finished adapting your DISPLAY environment
 variable for use with MacPorts.
 >
 > }}}
 > is it normal?

 No, whatever is doing the above shouldn't be doing it....

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


More information about the macports-tickets mailing list