Cyclic GMP and myosin II combine in a novel way to protect Dictyostelium cells from changes in external osmolarity. A newly discovered homologue of bacterial histidine kinases is also required for resistance to osmotic shock and may be a part of the same system.