According to the novels of the extended universe the Landspeeder didn’t use headlights because then it would be an easy target of Sand People at night. Instead there was a HUD display projected against the windshield which used nightvision sensors mounted around the vehicle.