Reputation: 1347
I am trying to run an applicatoin that uses X11. The application tries to make a call to XOpenDisplay(NULL), but it always returns NULL. I have set the DISPLAY environment variable set to :0 and the XAUTHORITY environment variable set to ~/.Xauthority. I am not familiar with X11 - is there anything else I need to do to make this call work?
Upvotes: 2
Views: 1710
Reputation: 5388
It's been a while since I used X, but perhaps "xhost +localhost" or just "xhost +" as a sanity check, but that latter has security issues.
Upvotes: 0
Reputation: 13612
Have you started the X server? /Applications/Utilities/X11.app
Upvotes: 1