Laboratory production of X-ray lasers