Opened 4 years ago

Closed 4 years ago

#61950 closed defect (duplicate)

Why does MacPorts set the DISPLAY variable in .bash_profile?

Reported by: rsmacleod (Rob MacLeod) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.6.4
Keywords: bigsur Cc:
Port:

Description

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.

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Keywords: bigsur added; Big Sur Apple Silicon M1 xorg-server DISPLAY removed
Port: xorg-server removed
Resolution: duplicate
Status: newclosed
Version: 2.6.4

Because of a bug in our installer which we will fix for the next version.

Duplicate of #61649.

Note: See TracTickets for help on using tickets.