Skip navigation
Currently Being Moderated

standalone flash player and xvfb

Apr 10, 2012 2:01 PM

I have an issue where we have a testing environment set up using xvfb-run/hudson and the standalone flash player.  I am unfamiliar with how this stuff typically works and in our environment it's been broken for about 3 weeks.  My question is, does the standalone flash player have any dependencies on a web browser, or does it just need a "gui" environment (hence xvfb) to work properly?  Everything I've found seems to imply that it should just run by itself - but I don't know for sure.


The environment is linux and I tried 11.0/11.1/11.2 of the standalone flash player.  The symptom I'm seeing is hudson just seems to hang forever on the "Using xvfb-run to launch headless test"


[INFO] Running tests /var/lib/hudson/jobs/AdminClient/workspace/trunk/target/test-classes/ TestRunner.swf

[WARNING] [LAUNCHER] Using xvfb-run to launch headless tests





The running processes are:


[dmurphy@flashbuild home]$ ps -ef | egrep -i "flashplayer|xvfb"

hudson   26439 26371  0 16:50 ?        00:00:00 /bin/sh /usr/local/bin/xvfb-run -a -e /tmp/xvfbrun5190903156503668885flashplayer flashplayer /var/lib/hudson/jobs/AdminClient/workspace/trunk/target/test-classes/ TestRunner.swf

hudson   26453 26439  0 16:50 ?        00:00:00 Xvfb :99 -screen 0 640x480x8 -nolisten tcp

hudson   26459 26439  0 16:50 ?        00:00:01 flashplayer /var/lib/hudson/jobs/AdminClient/workspace/trunk/target/test-classes/ TestRunner.swf



so xvfb is definately running but I'm not sure where the breakdown is happening.

  • Currently Being Moderated
    Apr 11, 2012 10:42 AM   in reply to infinitiguy1

    the standalone player has no dependencies on the plugin.  i'm unfamiliar with xvfb, so i can't speak to its usage.  what happens when you double click the standalone player or launch from command line?  it should launch the application window.

    Mark as:
  • Currently Being Moderated
    Apr 11, 2012 2:55 PM   in reply to infinitiguy1

    i may be reaching, but...  your swf is local, correct?  does it make network calls?  you may have to specify the location in the settings or native control panel to allow it to run.


    in your xsession, navigate a browser to ttings_manager04.html

    Edit Location>Add Location>Browse for Folder or File

    Point it to the swfs or directory

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points