Hi Peter.
Just as Stuart also said - brew was how I got it working on Mac OS successfully.
BW James
On 24 Apr 2020, at 06:00, Berg, Stuart bergs@janelia.hhmi.org wrote:
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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.skewed... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.skewed...
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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense... _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense...
graph-tool mailing list graph-tool@skewed.de https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.skew...