Sometimes it may be useful to use ROOT without anything put on a canvas, e.g. if you want to run a script with nohup
and then disconnect the ssh-connection.
You can start ROOT in batch mode with
root -b
If you have a macro, you have to add:
gROOT->SetBatch();