Any updates? This still exists 4 years later in xvfb 2:1.16.4-1 . The only workaround is to copy the entire script locally and remove those 4 characters.
Also the package is xvfb, not xorg-server -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1059947 Title: xvfb-run munges stdout and stderr together Status in xorg-server package in Ubuntu: Confirmed Bug description: It executes the supplied command thusly: DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1 This should be DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" Leaving the caller to redirect stderr to stdout, or to supply a single fd at their discretion. The side effect of munging the two fd's together is that programs which provide structured data on stdout have their output streams corrupted if they, or any subprocesses they have, happen to write to stderr at an inopportune time. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1059947/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp