From Fedora Project Wiki

< KDE

Fedora 40: X11 is now unsupported

For Fedora 40, the KDE SIG proposed the KDE Plasma 6 change which got accepted by FESCo.

As part of this change, we removed support for the X11 session in KDE Plasma packages in Fedora 40.