Wayland-only Desktop Installation#
Most of the current supported distributions use Wayland as the default display server; so it’s possible to have a Wayland-only installation with the NVIDIA driver packages.
Red Hat Enterprise Linux 8/9, AlmaLinux 8/9, Rocky Linux 8/9, Oracle Linux 8/9, Fedora 44
To drop support for X.org server, its desktop sessions and all relevant user-space X driver packages, just remove the X.org server package. There is a reverse dependency on the X.org package by the NVIDIA X driver package. So by removing the X.org package, you’re removing everything that is not required to run an X.org session.
# dnf remove xorg-x11-server-Xorg
Red Hat Enterprise Linux 10, AlmaLinux 10, Rocky Linux 10
The distribution already ships without any X.org component, only Wayland is available.
Ubuntu 22.04/24.04/26.04
Since no reverse dependency is possible, the X.org component for the NVIDIA driver must be explicitly installed in Ubuntu.
# apt install xserver-xorg-video-nvidia