X11 app - unable to open display ""
kuku at kukulies.org
Fri Apr 19 10:01:31 UTC 2019
Thanks. That did the job. I can now start the „gv“ (ghostview) port. But it illbehaves.
Some problem with the event queue maybe. Looks like lots ov expose events are generated.
Textfield in the left is flickering and is counting through all papersizes there are. Then the fileselector box
is flickering slowly. Hardly to operate.
Well, the application isn’t attractive anyway compared to what one is used of gsview64/32.
Not that the letter is the cream of GUI programs but it is usable and practical. Not more, not less.
> Am 17.04.2019 um 11:20 schrieb Chris Jones <jonesc at hep.phy.cam.ac.uk>:
> > sudo port install xorg-server
> log out then back in.
> Then you will have one for sure.
> On 17/04/2019 10:15 am, Christoph Kukulies wrote:
>> Fine. How can I figure out about the configuration of my X11 server? Don’t know whether I have an X11 server at all.
>> port list tells me I have
>> xorg-server @1.20.4 x11/xorg-server
>> among other lots of xorg-stuff.
>>> Am 17.04.2019 um 11:09 schrieb Chris Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>>:
>>> 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.
>>> 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?
More information about the macports-users