Both state railroads and private operators want to convince travellers to switch from airplanes to sleeper cars.