Long-term X-ray variability of typical active galactic nuclei in the distant universe