2002 VW Beetle, Diesel Idling Problem

I a 2002 VW Beetle, Diesel. It runs great local, but when I take it on a distance drive, at idling it is rough, chugging is the word. In the morning its rough also, but once I get back home off the road, its fine again and doesnt happen…until I take a distance drive again.