If your NVIDIA GPU fan isn’t starting on Ubuntu, you can fix it with a simple tweak to the Xorg configuration. Here’s how to do it:
-
Open the Xwrapper.config file
First, open a terminal and edit theXwrapper.config
file with this command:sudo nano /etc/X11/Xwrapper.config
-
Edit the file
In the file, add the following line:needs_root_rights=yes
Also, make sure the line for allowed users is set like this:
allowed_users=console
-
Save and exit
After adding the lines, save the file by pressingCtrl+O
, then pressEnter
. Exit by pressingCtrl+X
. -
Reboot
Reboot your system for the changes to take effect.sudo reboot
-
Set Fan Speed
After rebooting, open the NVIDIA settings by running:nvidia-settings
From the NVIDIA Settings window, go to the Thermal Settings tab and adjust the fan speed as desired.
This should get your GPU fan working as expected in Ubuntu! If you encounter any issues, ensure that your NVIDIA drivers are properly installed and up to date.