[CentOS] Failed to start new browser session: Error while launching browser on session null

Mon Mar 28 19:59:05 UTC 2011
m.roth at 5-cent.us <m.roth at 5-cent.us>

Les Mikesell wrote:
> On 3/28/2011 2:31 PM, ken wrote:
>>
>>> I need your advice with something if you can help out.
>>>
>>> I have an RC serer (selenium rc) which is running on a centos 5.2 and
>>> another on a 5.4 machine.
>>> if i run it through X server, in other words if i run the server while
>>> connected to VNC. it works fine.
>>> but if i run it through ssh, it will start normally though upon test
>>> execution it will fail with the following error:
>>>
>>> 11:05:01.571 INFO - Preparing Firefox profile...
>>> Error: no display specified
>>> 11:05:21.818 ERROR - Failed to start new browser session, shutdown
>>> browser and clear all session data
>>> java.lang.RuntimeException: Timed out waiting for profile to be
>>> created!
>>>
>>> 11:05:21.833 INFO - Got result: Failed to start new browser session:
>>> Error while launching browser on session null
<snip>
Two things: first, I assume X is running. Second, did you ssh in with ssh -X?

          mark