Eurail Global Pass does not work in Eastern Europe. There is one available that covers EE, but sometimes the tickets are so cheap you break even or end up spending more, so its worth it to compare it to point to point ticket costs.
Trip from Budapest to Belgrade was not that long. Maybe 5 or 6 hours. From Belgrade to Athens was about 21 hours.
Where are you planning on going and for how long?