Most games will run in a separate X server. It's a bit of a rigamarole to set it up on Ubuntu though, there are permissions issues you need to resolve before it'll work.