That's unfortunate - with #CentOS Stream 10 (Which will be the basis for #RHEL 10) going all in on #Wayland and removing Xorg (Ref: https://www.redhat.com/en/blog/rhel-10-plans-wayland-and-xorg-server?channel=/en/blog/channel/red-hat-enterprise-linux) there is no longer an Xvfb package in the repositories. I'm seeing references to #weston as an option to provide a headless display server, and there's also https://lists.freedesktop.org/archives/wayland-devel/2023-November/043329.html which may be able to provide an equivalent (built on top of weston and other tools).
Anyone got experience of migrating from Xvfb to a Wayland-based alternative?
Red Hat Enterprise Linux 10 plans for Wayland and Xorg server

We’ve decided to remove Xorg server and other X servers (except Xwayland) from RHEL 10 and the following releases. Xwayland should be able to handle most X11 clients that won’t immediately be ported to Wayland, and if needed, our customers will be able to stay on RHEL 9 for its full life cycle while resolving the specifics needed for transitioning to a Wayland ecosystem.

#weston #xvfb replacement update ...
- CentOS Stream 10 container: Installing `epel-release` then `weston` gives me dependency issues. Currently a non-starter
- Ubuntu 22.04 on arm64 (real machine, the others are in containers: Tells me the display number in the startup). xclock runs ok
- Fedora or Ubuntu container (40/42/22.04): Works but segfaults with --xwayland unless you precreate /tmp/.X11-unix

There is hope!

@sxa Personally haven't tried it but it seems to be straightforward and directly supported by compositors like sway, Weston etc.
https://unix.stackexchange.com/questions/653672/virtual-wayland-display-server-possible
Virtual Wayland Display Server Possible?

Are there any equivalents to X11's Xvfb for Wayland? So wayland applications can run with OpenGL etc without having to connect to a physical graphics card? Asking since I would like to run tests for

Unix & Linux Stack Exchange