  Gravitational lenses that produce multiple images of background quasars can
be an invaluable cosmological tool. Deriving cosmological parameters, however,
requires modeling the potential of the lens itself. It has been estimated that
up to a quarter of lensing galaxies are associated with a group or cluster
which perturbs the gravitational potential. Detection of X-ray emission from
the group or cluster can be used to better model the lens. We report on the
first detection in X-rays of the group associated with the lensing system PG
1115+080 and the first X-ray image of the group associated with the system
B1422+231. We find a temperature and rest-frame luminosity of 0.8 +/- 0.1 keV
and 7 +/- 2 x 10^{42} ergs/s for PG 1115+080 and 1.0 +infty/-0.3 keV and 8 +/-
3 x 10^{42} ergs/s for B1422+231. We compare the spatial and spectral
characteristics of the X-ray emission to the properties of the group galaxies,
to lens models, and to the general properties of groups at lower redshift.
