You must install the GNOME package on the system to enable GUI in order to use AlmaLinux 9 in graphical mode.