500 km
To be honest, it's probably better to fly, but if you want to take the train, you will need to take a train first from Barcelona to Venice in Italy. Then you will need to take the train from Venice to Vienna.
According to Rail Europe, distributor of train tickets and rail passes, approximately between 7 and 10 hours.
train track
The Train for Venice was created in 1938.
The duration of Night Train to Venice is 1.63 hours.
lyon - vienna
Night Train to Venice was created on 1994-06-01.
The train time from Vienna to Budapest is 3 - 3 1/2 hours.
Yes
Did who fall on the train track?
Cyprus is an island in the large part of the Mediterraneum, whereas Venice is part of Italy at the top part where yes it is built in a lagoon, but still has a mainland part, where the airport and train station are. They are not close at all. Cyprus is southeast of Venice.