You can also always buy a ticket onboard the train and they happily accept cash payments. There is no surcharge if you board at an unstaffed station. There is fairly small EUR2.00 surcharge if you board at a staffed station. So even if you board at Vilnius or Kaunas you could still just board...