X11 app - unable to open display ""

Christoph Kukulies kuku at kukulies.org
Wed Apr 17 09:06:55 UTC 2019

I installed the „gv“ port (ghostview). Worked.  I can give gv on the command line (shell prompt).
But I’m getting:

Christophs-MBP:~ kuku$ export DISPLAY=:0
Christophs-MBP:~ kuku$ xhost +
xhost:  unable to open display ":0"
Christophs-MBP:~ kuku$ gv
gv: Unable to open the display.
Christophs-MBP:~ kuku$ 

I thought, X11 apps can run against the macOS desktop server, can’t they?
Or do I have to run an extra X11-server?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190417/ac3ee9cb/attachment.html>

More information about the macports-users mailing list