Error: cannot open display

I'm trying to run a selenium test script directly from the built-in bash console. But I first got the 'Error: display not specified', then no matter what display I specify I get 'Error: cannot open display [...]'. I physically do not need to see the display myself, but selenium needs to scan an instance of firefox to complete the test. I can always run those tests locally but I'm trying to see how much I can do remotely. Any pointers?

@justbecool: Welcome to PA!!

Does this thread help?

Thanks @a2j... it worked like a charm!

You are most welcome!! Happy computing...☺