[MacPorts] #61950: Why does MacPorts set the DISPLAY variable in .bash_profile?

MacPorts noreply at macports.org
Thu Dec 31 13:32:27 UTC 2020


#61950: Why does MacPorts set the DISPLAY variable in .bash_profile?
-------------------------------------------------+-------------------------
 Reporter:  rsmacleod                            |      Owner:  (none)
     Type:  defect                               |     Status:  new
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:
 Keywords:  Big Sur, Apple Silicon, M1, xorg-    |       Port:  xorg-server
  server, DISPLAY                                |
-------------------------------------------------+-------------------------
 I have tracked down a problem that blocked xorg-server from working and
 the source of the problem appears to be from Macports updating my
 .bash_profile to include the following lines:

 {{{
 # MacPorts Installer addition on 2020-11-28_at_10:30:18: adding an
 appropriate DISPLAY variable for use with MacPorts.
 export DISPLAY=:0
 # Finished adapting your DISPLAY environment variable for use with
 MacPorts.
 }}}

 As soon as I commented out the export DISPLAY command, xorg started
 working properly.  So why and where does Macports set this variable?
 I am running Mac OS 11.1 (Big Sur) on an Apple Silicon (M1) mini.

-- 
Ticket URL: <https://trac.macports.org/ticket/61950>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list