FR 946 then OS 917 at Vienna
Krakow → Vienna → Vilnius
Timetable, Vienna time
13:20FR 946 from Krakow at the gate
10:00OS 917 to Vilnius leaves the gate
20 h 40 apart on the timetable, overnight
OS 917 leaves 20 h 40 after FR 946 arrives on the timetable: more than half a day, so not a connection we count.