Don't worry about it, it was your first time on the elliptical, you'll work your way up to more time!! I just incorporated the treadmill into my workout about 2 1/2 weeks ago and could not run for more than 2 minutes at a time...today I ran for 10 minutes straight NO PROBLEM at all! I could not believe how much progress I made in such a short time.
The elliptical can be really challenging but try starting out on the lowest resistance and go as slow as you want!
Best of luck, keep us updated on your elliptical progress!