X and Y operators for general linear transport processes