Remote display problem throw ssh connection

ROOT Version: 6.28/04
Platform: CentOS 7
Compiler: g++ (GCC) 13.1.0

I use ROOT in CentOS 7 server through SSH tunel. When I want to construct a TBrowser in root normal mode, not batch mode, there’s a warning “Warning in TBrowser::TBrowser: The ROOT browser cannot run in batch mode”.

There’s no problem with my X11 settings, because all X11 applications like xeyes, xcolck, xmessenge can be displayed correctly. And $DISPLAY is also set correctly.

I also checked status of “gROOT->IsBatch()”, it’s 0 before constructing TBrowser, but 1 after construction, which means ROOT tried to open a GUI session, but failed without any messenge.

Is there any hint on this problem?

Hi @John_Leong and welcome on the root forum.
Very naive question, do you use ssh with -XY option to enable X11?

Like ssh -XY

Thanks for reply.
Yes, I’ve also add “ForwardX11 yes ForwardAgent yes” , etc, in ssh configuration file.
It turns out other x11 applications work well, even GEANT4 program.
But ROOT always can not open GUI session.

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