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 <be...@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.de%2Fcount0%2Fgraph-tool%2F-%2Fwikis%2Finstallation-instructions%23conda&data=02%7C01%7C%7Cd3e6f70f887e433efca108d7e80c6062%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637233012181569674&sdata=6hpJL7AGTqBIFd6qcn%2FD%2B%2Fr0zn4nhFhieD9yv5igkqI%3D&reserved=0 > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.skewed.de%2Fcount0%2Fgraph-tool%2F-%2Fwikis%2Finstallation-instructions%23homebrew&data=02%7C01%7C%7Cd3e6f70f887e433efca108d7e80c6062%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637233012181569674&sdata=GSLrFGSGpDGiX0yz6MRB9mELiXO22TlB4mzU1U539Tc%3D&reserved=0 > > 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-boun...@skewed.de on behalf of pe...@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.com%2Fv3%2F__http%3A%2F%2Fmain-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com%2F__%3B!!Eh6p8Q!QNg_LqaS-z2hYMT0iuGXgZsbLkcdR1fIjvaWq5bEfaUhRuvwKT7J54lwFxK-2q7YZA%24&data=02%7C01%7C%7Cd3e6f70f887e433efca108d7e80c6062%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C637233012181569674&sdata=dSd0C5NRmb9rthviso%2FDKvjCDYW1m8vFtivvjZve6f8%3D&reserved=0 > > _______________________________________________ > graph-tool mailing list > graph-tool@skewed.de > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.skewed.de%2Fmailman%2Flistinfo%2Fgraph-tool__%3B!!Eh6p8Q!QNg_LqaS-z2hYMT0iuGXgZsbLkcdR1fIjvaWq5bEfaUhRuvwKT7J54lwFxLgVwIT4w%24&data=02%7C01%7C%7Cd3e6f70f887e433efca108d7e80c6062%7C569df091b01340e386eebd9cb9e25814%7C0%7C0%7C637233012181569674&sdata=MsEwb%2F5VJ3T0ewhh6W3xRbZsuAkQIqyrIOUu3YECOXk%3D&reserved=0 > > > > _______________________________________________ > graph-tool mailing list > graph-tool@skewed.de > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.skewed.de%2Fmailman%2Flistinfo%2Fgraph-tool&data=02%7C01%7C%7Cd3e6f70f887e433efca108d7e80c6062%7C569df091b01340e386eebd9cb9e25814%7C0%7C1%7C637233012181569674&sdata=VhSIabC8khYQm3QK62SYu4qWOxtOBkVxWgFwSUbxcp8%3D&reserved=0 _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool