is it the original battery? or has it been changed?
on the petrol x-type they had problems with non starts, but it turned over ok but didn't fire, turns out it was the battery, it had a 'small' battery and once we fit the diesel battery it fired up every time.
no harm cleaning the throttle body out. might be worth checking the plugs and replacing if necessary