On Sat, 13 Dec 2025 at 12:06:29 +0100, Rene Engelhard wrote:
root@frodo:~# xvfb-run --auto-servernum true; echo $?
1
For what it's worth, this is working as expected for me and exiting 0
(in up-to-date unstable on amd64, either on a laptop or in a podman
container) so perhaps there is some other factor.
On a system where this doesn't work, running as "xvfb-run -e /dev/stderr
--auto-servernum true" might produce useful information (or not). For
historical reasons Xvfb's stderr is sent to /dev/null by default.
For updated/future packages, I wonder whether it's time to be preferring
the utilities from the xwayland-run package (wlheadless-run for native
Wayland apps, or xwfb-run for X11 apps) as a wrapper for regression
tests that reflects how users of our most common desktop environments will
increasingly be using the app.
smcv