Script in Linux Stock Images are making xvfb not work consistently

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 5.10.0
    • Affects Version/s: 5.10-OD-05
    • Component/s: None
    • None

      Summary

      Some Linux stock images (like ami-bba0fede) have the following script: /usr/local/bin/Xvfb

      #!/bin/sh
      /usr/bin/Xvfb -listen tcp $@
      

      However, since xvfb-run relies on executing off an Xvfb process and waiting on a SIGUSR1 signal from Xvfb to proceed, this wrapper script breaks it, as the signal gets to this script but not all the way back to xvfb-run.

      The xvfb-run is hanging because of that.

      Steps to Reproduce

      1. Try to run xvfb-run:

      Expected Results

      It works.

      Actual Results

      It will hang.

      Workaround

      Workaround 1
      Add a line to the Startup Script to remove that script

      Workaround 2
      Customize the image, removing the script

            Assignee:
            Przemek Bruski
            Reporter:
            Jaime S
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: