Canvas doesn't show up when drawn from tree


I am running the latest version of root in lxplus in Ubuntu VMWare.

However whenever I use TCanvas::Draw it shows:
Info in <TCanvas::MakeDefCanvas>: created default TCanvas with name c1 but it doesn’t pop up the canvas.

How do I view the canvas? Thank you.

Is it only when you try to display a tree or is it a problem for any canvas ?
What do you get when you do:

root[0] TCanvas *c = new TCanvas()


Hi that doesn’t show up either. However, I have found the solution to the problem it is solved by adding -Y to ssh command when logging in lxplus!

Ah yes of course !

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