X-ray observations of X Persei