Disable GUI in PROOF Lite

Hi ROOT/PROOF experts

is it possible to run proof lite without the GUI?

When I do

TProof * p = TProof::Open("");

I always get the GUI. Is there an option to disable it (In order to be able to run PROOF without X11 and inside the screen tool)?

Thanks in advance for help.

Dear ctopfel,

You can try one of the following:

  1. Start ROOT in batch mode (root -b)
  2. Set the bit TProof::kUsingSessionGui on the TProof object before any Process(…) call:
       root [] TProof *p = TProof::Open(...)
       root [] p->SetBit(TProof::kUsingSessionGui)
       root [] p->Process(tdset, ...)
       root [] chain->Process(...)
  1. (starting with ROOT >= 5.27/02) Disable the progress dialog
       root [] TProof *p = TProof::Open(...)
       root [] p->SetProgressDialog(0)
       root [] p->Process(tdset, ...)
       root [] chain->Process(...)

Let me know if it helps,
G. Ganis

Thank you, works perfectly in Batch Mode.


This is good, but would be better to have a non-gui version of the progress bar displayed in terminal.
Is this possible?


Yes, you start ROOT in batch mode (root -b) you should get a text base progress bar displayed on the terminal.

G Ganis

1 Like


I wonder if there is a way to use this batch setting but to still be able to stop/abort the proof lite analysis. The GUI has the two convenient buttons “Stop” and “Cancel” (if memory serves me right now). I tried Ctrl + C to no avail.