C6 volatile compounds are known to be produced by the plant upon pathogen attack or other stress-related events. The biological activity of many of these substances is poorly understood, but some might produce signal molecules important in host–pathogen interactions. In this research we explored the possibility that lipid-derived C6 volatiles have a direct effect on bacterial plant pathogens. To this purpose we used a unique tool, a bacterium genetically engineered to bioluminesce. Light-producing genes from a fish-associated bacterium were introduced into Xanthomonas campestris pv. campestris, enabling nondestructive detection of bacteria in vitro and in the plant with special computer-assisted camera equipment. The effects of different C6 volatiles (trans-2 hexanal, trans-2 hexen-1-ol and cis-3 hexenol) on growth of bioluminescent Xanthomonas campestris were investigated. Different volatile concentrations were used. Treatment with trans-2 hexanal appeared bactericidal at low concentrations (1% and 10%), while treatments with the other volatiles were not inhibitive to bacterial growth. The implications of these results with respect to practical use of trans-2 hexanal in pathogen susceptible and resistant plants will be discussed.