Novak Djokovic recorded a comfortable 6-1 6-4 victory over Viktor Troicki in the first round of the Dubai Tennis Championships.