I have followed the instructions here https://hub.docker.com/r/rootproject/root-ubuntu16/ for MacOS to be able to use ROOT Graphics via Xquarts. My test is the canonical TBrowser s
in a root prompt. It does not work. I see the error:
~/docker-4-bdsim$ docker run --rm -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$ip:0 rootproject/root-ubuntu16
------------------------------------------------------------------------
| Welcome to ROOT 6.12/07 http://root.cern.ch |
| (c) 1995-2017, The ROOT Team |
| Built for linuxx8664gcc |
| From heads/v6-12-00-patches@v6-12-06-4-gc660fef, Feb 14 2018, 17:28:00 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------------
root [0] TBrowser s
Error in <TGClient::TGClient>: can't open display "192.168.1.7:0", switching to batch mode...
In case you run from a remote ssh session, reconnect with ssh -Y
(TBrowser &) Name: Browser Title: ROOT Object Browser
Anyone had any success with this? My XQuartz version is 2.7.11, and I’m on OS 10.13.3 (High Sierra). Thank you.