Queen Mary of Denmark was greeted by an adoring public in Canberra in her first official visit to her homeland since taking the throne.