Unable to open TBrowser in docker container of CMSSW in Ubuntu

_ROOT Version: 5.32/00
Platform: Ubuntu 18.04 LTS

I am working in a docker container of CMSSW (release 5_3_32) which comes with a root version 5.32/00. I encountered the error below when I tried to open TBrowser.

[17:55:26] cmsusr@rks01 ~/CMSSW_5_3_32/src $ root
No protocol specified
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.32/00   2 December 2011   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.32/00 (branches/v5-32-00-patches@42372, Jun 10 2014, 18:26:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TBrowser t
No protocol specified
Error in <TGClient::TGClient>: can't open display ":0", switching to batch mode...
 In case you run from a remote ssh session, reconnect with ssh -Y
root [1] 

Which protocol are they talking about ? Would really appreciate any suggestions to resolve this.

Hi @Ali_Esha ,
this is really a question for who released the image (5.32 is not supported anymore), but if it works the same as our ROOT images with more recent ROOT versions these instructions might be useful: https://github.com/root-project/root-docker#enabling-graphics .

Cheers,
Enrico

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.