Hi,

Your problem is

export DISPLAY=:0
xhost +

don't do this.

Just run gv, and allow your X11 server to automatically tart, which it should, if it is correctly configured.

Chris

On 17/04/2019 10:06 am, Christoph Kukulies wrote:
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?

—
Christoph


Reply via email to