I've done the trip by train twice, and it's OK. You get a sleeper so at least half of the trip is spent sleeping, the rest is gazing out the window or reading a book. I've had a lot worse journeys, like a 12 hour trip in Vietnam by sleeper bus, that was a nightmare.