Hi, maybe this is trivial but I’m having trouble.
I’m working with root v 6.32.02 on Ubuntu 24.04 bash shell and I’m having trouble making graphs. I can’t produce images, even the most basic. Brief example; if I make the simple code
tut1.C:
void tut1(){
TH1F *hist= new TH1F("hist", "histogram", 100, 0, 100);
TCanvas *c1 = new TCanvas();
hist->Draw();
}
On the terminal i open root:
root tut1.C
And get this
root [0]
Processing tut1.C...
Authorization required, but no authorization protocol specified
And nothing else; I should get an empty histogram canvas (saw a tutorial from “Physics Matters” where he does exactly this).
Likewise if I try to open a TBrowser in root from
root [0] new TBrowser
Authorization required, but no authorization protocol specified
Warning in <TBrowser::TBrowser>: The ROOT browser cannot run in batch mode
(TBrowser *) 0x5a8a1875df50
This authorization line comes up often, I don’t understand how to get rid of it.
It looks like root opens in batch mode, even without me opening with root instead of root -b, and it can never draw images? I don’t know, and I really can’t find a fix.
Thank you.