[MacPorts] #42852: MacPorts installation sets $DISPLAY=:0 in .bashrc
MacPorts
noreply at macports.org
Fri Mar 14 13:13:48 PDT 2014
#42852: MacPorts installation sets $DISPLAY=:0 in .bashrc
------------------------------+--------------------------------
Reporter: Norbert.Marwan@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.2.1
Keywords: X,installation | Port:
------------------------------+--------------------------------
After installing MacPorts I found a new line in .bashrc setting the
$DISPLAY variable to :0. This is highly problematic because the Xorg
server sometimes creates a new display port (e.g. :1). In this case, X
applications will not be able to work because the DISPLAY was set to :0
and an annoying "unable to open display at :0" error appears. MacPort
should not set the DISPLAY variable to :0. If it is necessary to set it
then the port needs to be set dynamically, depending on the used display
port of the currently running X server.
--
Ticket URL: <https://trac.macports.org/ticket/42852>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list