Army chief Joseph Aoun was elected on Thursday as the 14th president of Lebanon, ending a two-year power vacuum.