Debian supporters - This bug sounds disturbing. I use xvfb-run "all the time" on Bookworm, and have never seen it act up. I agree with Simon, the symptoms sound like a race condition, even though the shell script and its concept seem sound, and have worked well for many years.
Does anyone have any hints on how to reproduce this occasional failure-to-launch on a development machine? Using amd64 bookworm as a host, I just tried: fresh amd64 trixie install in a chroot install dependencies for rhythmbox as unprivileged user, apt-get source rhythmbox cd rhythmbox-3.4.8 dpkg-buildpackage -rfakeroot it worked (as in, .deb files cam out, and no xvfb fault). Not only that, but xvfb-run dh_auto_test -- --timeout-multiplier 3 ran 20 times in a row without a failure. - Larry