I have downloaded the .run file, made it executable, ran it, agreed to the license and extracted the files. I go to run the .sh file and I get "cannot connect to X server"

I am running ubuntu 9.10 with two monitors configured with the Nvidia display settings app. Any help would be appreciated.