Pope Benedict XVI waved to the faithful as he arrived in St Peter's Square.