FR 5150 then FR 2971 at Dublin
Glasgow → Dublin → Kaunas
Timetable, Dublin time
15:45FR 5150 from Glasgow at the gate
12:10FR 2971 to Kaunas leaves the gate
20 h 25 apart on the timetable, overnight
FR 2971 leaves 20 h 25 after FR 5150 arrives on the timetable: more than half a day, so not a connection we count.