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.
22h10 including night train (sleeperettes) between Barcelona and Milan.
lyon - vienna
The Eurostar does not go to Barcelona. Eurostar is the brand name of the high speed train service London-Paris and London-Lille-Brussels.
The train time from Vienna to Budapest is 3 - 3 1/2 hours.
Barcelona has a train station, so it is possible to get there by train. However. where you are starting from (which you have not specified) may not have a station or indeed be connected to a rail network.
Do you need a passport to travel to Barcelona
Do you mean Vienna AUSTRIA? Vienna isn't in Australia.
5
2 hours
500 km
By train - overnight train 'Trenhotel' leaves Barcelona Estacion Del Norte at 9pm and arrives Paris Austerlitz station at 9am (making 4 short stops en route) By plane - depending on which airport you fly to: Barcelona to Paris Orly 1hr 45 mins Barcelona to Paris Charles de Gaulle 1 hr 55 mins
That depends on what defines best, lowest price, fast arrival, travel comfort etc. * Air * Rail * Road