Clusters of galaxies and X-ray sources