GPU -Drivers NVIDIA - Ubuntu Desktop¶
Installation¶
From a Ubuntu Desktop 22.04 LTS desktop, take the latest version of NVIDIA drivers to the Google repository, for Linux-based operating systems.
We start it with the SPICE Viewer.
In terminal, run:
We will have to configure the desktop so that it does not detect the "nouveau" driver, which makes us unable to do the installation correctly:
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
We check that within the archive we have this written:
And we regenerate initramfs:
We restart the desktop by making a 'sudo reboot'
We enter the terminal again and do:
We will see a terminal with a full screen. We will have to log in with the credentials on our desktop and go to the directory where we downloaded the drivers.
We will write the following orders:
The following steps are followed:
Reboot desktop with sudo reboot
Errors during process
During the installation, several errors may arise. The most common thing is that the graphical interface does not work for us.
Solution: Press inside the SPICE viewer CTR+Alt+F6, using the special key index from the top-left menu.
We will start a terminal, we will log in with the desktop credentials and we will do a sudo reboot. This will cause the graphical interface to be restarted and we can enter as always.
Before starting it up again, we assign the hardware, Videos -> Only GPU and a vGPU of which we have available on the platform.
And we start it up again.
We will be able to verify the availability of the NVIDIA Settings program.
Client licensing¶
It is done via token, a file that is generated once a license CLS server is configured on the NVIDIA License Platform.
Move the token to the desktop as it is downloaded, it is not worth copying the content and creating a new file on the desktop since they have subdata to this file that cannot be regenerated by copying and pasting the encryption code inside the archive (it is a .tok format file). It can be done via the SPICE Viewer, dragging from the host computer to the Ubuntu Viewer. If dragging is not available, you can atach a USB Driver with the ".tok" file loaded, and download the file directly from it. It can be possible that SPICE won't work properly with only GPU, so u can change Video profile, download the file, and change it to Only GPU Again once the file is configured.
Token must be moved to the directory /etc/nvidia/ClientConfigToken, and permissions are changed:
sudo mkdir ClientConfigToken
sudo mv client_configuration_token_*.tok /etc/nvidia/ClientConfigToken/
sudo chmod 744 /etc/nvidia/ClientConfigToken/client_configuration_token_*.tok
If the gridd.conf file does not exist, it is created from the gridd.conf.template file (nothing in the archive should be modified):
In the case you changed the Videos profile to another that is not Only GPU, to proceed you should turn off the desktop and modify the Video to Only GPU to work with GPU.
Start the desktop and the command is written to the terminal:
Navigate to the next section, where the License Status should display Licensed along with an expiration date—this confirms that the Ubuntu client is properly licensed.






