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: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/