First time macports need help with PAN

Riccardo Mottola riccardo.mottola at
Sat Mar 28 10:38:05 UTC 2020

Hi "alien"

alien wrote:
> I am first time user using macports with high sierra 10.13., I was using 
> homebrew, since I want to install PAN so I 
> deleted homebrew, installed macports and I followed the instruction to 
> install PAN.
> But when I start the program in terminal it said
> (pan:1058): Gtk-WARNING **: 13:41:04.111: cannot open display:
> I tried to the error message on google, but I cannot find, how to solve 
> this problem on high sierra.
> Thank you in advance for your help and advise.

this means that your application is trying to open an X11 display but 
you have no X11 running.

I see two options:
-> install X11 server (unluckily, at some point Apple stopped supplying 
one, so MacPorts has one)
-> see if your specific Application has a "native" variant, which in 
MacPorts is usually enabled with the +quartz variant

E.g. gimp has both versions, but defaults to X11.


More information about the macports-users mailing list