We present cross-identification of archived ROSAT X-ray point sources with W UMa variable stars found in the All-Sky Automated Survey. A total of 34 W UMa stars have been found associated with X-ray emission. We compute the distances of these W UMa system