The secret is to have something good on TV to watch.

For the longer rides, I have a TV tray next to my bike & trainer with:
1. My TiVo remote
2. Extra bottles of water
3. Food
4. The phone

Another secret for longer rides is that you'd better LOVE your cycling shorts. After this weekend, I've decided to retire a couple of pairs of Bellwether shorts.