[MacPorts] #67753: "Cannot open display"
MacPorts
noreply at macports.org
Mon Jul 17 07:39:19 UTC 2023
#67753: "Cannot open display"
-------------------------+--------------------
Reporter: haelen | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: worksforme | Keywords:
Port: gimp2 |
-------------------------+--------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => worksforme
Comment:
Installing xorg-server will also install its dependency xinit, which
installs a launchagent that runs when you log in which sets up the DISPLAY
environment variable such that, if you try to launch an X app, the X
server will be started first. So "Cannot open display" means that the
DISPLAY environment variable doesn't point to a valid display, either
because xinit's launchagent isn't running or because you're overriding the
DISPLAY environment variable in a shell startup script or somewhere else
(if so, remove that override).
--
Ticket URL: <https://trac.macports.org/ticket/67753#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list