By default (fresh installation of the distribution and the apps) the desktop applications available on Rocky Linux 9 (GNOME desktop) cannot share the entire screen, a window, or a browser tab.
That problem appears due to a combination of a missing package (xdg-desktop-portal-gnome), which might not be installed by default, and systemd services (xdg-desktop-portal and/or pipewire), which are either missing or not enabled.
To solve the issue you need to install xdg-desktop-portal-gnome
sudo dnf -y install xdg-desktop-portal-gnome
and enable/start/restart the required services (as user):
systemctl --user enable --now pipewire systemctl --user restart xdg-desktop-portal.service





