GNAQ and infection: Using C. elegans we show that infection by pathogenic strains of M. nematophilum, but not exposure to avirulent strains, triggers behavioral and immune responses both of which require a conserved Gαq-RhoGEF Trio-Rho signaling pathway.