No graphics in ssh session

In an xterminal session source /opt/root/bin/thisroot.sh (in order to set the required environment variables) and then you can run root in this xterminal session.