Following this setup routine I installed XFCE4 on Rocky Linux 9. But this does not startup the xfce4-window-manager in init 5.
If I go to init 3 and then startxfce4 as root XFCE4 is being started. This does not work as normal user.
There I get the error-message "Anzeige kann nicht geöffnet werden". Which states that the display can not be opened.
So obviously there is something missing to tell the os to use xfce.
On init5 a different WM starts up. From the process list it seems to be gdm based. If I kill gdm-wayland-session the window-manager restarts.
Update: It is possible to select the cogwheel and select xfce session. As root this starts up a xfce4-session.
As non-root the screen blanks and then the login screen reappears.