Comment 9 for bug 348052

Steffen Neumann (sneumann) wrote :

Hi,

I am unsure whether this is fixed in xvfb 2:1.7.6-2ubuntu7.2,
because I am experiencing the symptoms that xvfb fails to start
with multiple concurrent invocations on a single host.
(We're using xvfb-run in job scripts submitted to the gridengine queueing system,
 which schedules as many jobs as cores on one host).

I have attached the output of sh -x xvfb-run, please let me know
if I missed something obvious, or whether I should provide more information,
and whether this should be opened as a new bug.

Yours,
Steffen

+ set -e
+ PROGNAME=xvfb-run
+ SERVERNUM=99
+ AUTHFILE=
+ ERRORFILE=/dev/null
+ STARTWAIT=3
+ XVFBARGS=-screen 0 640x480x8 -extension Composite
+ LISTENTCP=-nolisten tcp
+ XAUTHPROTO=.
+ awk {print $2}
+ stty size
+ DEFCOLUMNS=
+ expr : [[:digit:]]\+$
+ DEFCOLUMNS=80
+ getopt --options +ae:f:hn:lp:s:w: --long auto-servernum,error-file:,auth-file:,help,server-num:,listen-tcp,xauth-protocol:,server-args:,wait: --name xvfb-run -- echo mzData
+ ARGS= -- 'echo' 'mzData'
+ GETOPT_STATUS=0
+ [ 0 -ne 0 ]
+ eval set -- -- 'echo' 'mzData'
+ set -- -- echo mzData
+ :
+ shift
+ break
+ [ ]
+ [ -z echo mzData ]
+ which xauth
+ trap clean_up EXIT
+ [ -z ]
+ mktemp -d -t xvfb-run.XXXXXX
+ XVFB_RUN_TMPDIR=/tmp/414629.1.MSBI2/xvfb-run.z3JMeX
+ tempfile -n /tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority
+ AUTHFILE=/tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority
+ mcookie
+ MCOOKIE=d3693c2fa8bd05f29a9154f8ca87ee88
+ tries=10
+ [ 10 -gt 0 ]
+ tries=9
+ XAUTHORITY=/tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority xauth source -
+ XVFBPID=4022
+ sleep 3
+ XAUTHORITY=/tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority Xvfb :99 -screen 0 640x480x8 -extension Composite -nolisten tcp
+ kill -0 4022
+ [ -n ]
+ error Xvfb failed to start
+ message error: Xvfb failed to start
+ fmt -t -w 80
+ echo xvfb-run: error: Xvfb failed to start
xvfb-run: error: Xvfb failed to start
+ exit 1
+ clean_up
+ [ -e /tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority ]
+ XAUTHORITY=/tmp/414629.1.MSBI2/xvfb-run.z3JMeX/Xauthority xauth remove :99
+ [ -n /tmp/414629.1.MSBI2/xvfb-run.z3JMeX ]
+ rm -r /tmp/414629.1.MSBI2/xvfb-run.z3JMeX
XVFB: Error code 1