Hi Peter,
I don't know the answer to your question about Docker and X11. But just in case it's useful, I'll point out that the easiest way to run graph-tool on Mac is probably to use conda or homebrew. Both of those options provide pre-compiled binaries, so installation should (hopefully) be fairly quick and painless.
https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions#co... https://git.skewed.de/count0/graph-tool/-/wikis/installation-instructions#ho...
If you knew that already and you prefer the Docker container for other reasons, then I'm sorry for this noise.
Best, Stuart
On 4/23/20, 11:46 PM, "graph-tool on behalf of peterhuson" <graph-tool-bounces@skewed.de on behalf of peter@huson.com> wrote:
Hi James,
I'm wondering how you were able to resolve the error from the X server: > Unable to init server: Could not connect: Connection refused
XQuartz is installed, and I know it works because I have been able to forward X applications to it previously using ssh -X. I'm on OSX 10.12 using XQuartz 2.7.11
I followed the instructions running:
xhost +local: docker run -ti -u user -w /home/user --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix tiagopeixoto/graph-tool ipython
Would you be able to share how you configured your xhost to accept connections from the docker container?
Thanks for your help. Peter
-- Sent from: https://urldefense.com/v3/__http://main-discussion-list-for-the-graph-tool-p... _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://urldefense.com/v3/__https://lists.skewed.de/mailman/listinfo/graph-t...