Running ROOT on Lxplus Server of CERN
Mac OsX terminal window has powerful features than any other operating systems but if you are working on a remote server you need to know a little more about it.
If you are using MacOSX and if you are connecting lxplus@cern using regular command ssh, the first thing you will observe is that your system cannot open X11 window which is needed by ROOT. To overcome this problem, you should connect using either
ssh -X firstname.lastname@example.org
ssh -Y email@example.com
X option, provides you a ssh connection forwarding X11. And Y option, provides a ssh connection Forwarding trusted X11.
After you logged in using your user name and password, you have 2 options to run ROOT.
1 -) Entering ROOT variables below:
2-) Or just source Athena Framework and setup root from Athena: (Note that Athena consists much more than ROOT)
alias asetup='source $AtlasSetup/scripts/asetup.sh'
–Recently this procedure has been changed and became eaiser. Please google for sourcing Athena framework–
Then just write “root” and start your analysis.