Ssh – Using nvidia-settings over ssh

nvidiasshx11xorg

Now the new nvidia-driver has implemented CoolBits for the newer graphics cards I'm attempting to control fan/clock speed over ssh.

When attempting to run anything with nvidia-settings via ssh I get errors like the following:

user@system:~$ nvidia-settings -a [gpu:0]/GPUOverclockingState=1
ERROR: The control display is undefined; please run `nvidia-settings --help`
       for usage information.
user@system:~$ nvidia-settings -q GPU3DClockFreqs
ERROR: The control display is undefined; please run `nvidia-settings --help`
       for usage information.

Is this due to the Xorg server not starting up (No monitor plugged in) and nvidia can't hook into the Xorg's current graphics card?

Is there a way to specify the GPU nvidia-settings uses?

user@system:~$ nvidia-settings -v
nvidia-settings:  version 337.19  (buildmeister@swio-display-x86-rhel47-04)
Tue Apr 29 20:12:23 PDT 2014
  The NVIDIA X Server Settings tool.

  This program is used to configure the NVIDIA Linux graphics driver.
  For more detail, please see the nvidia-settings(1) man page.

  Copyright (C) 2004 - 2010 NVIDIA Corporation.

user@system:~$ uname -a
Linux system 3.2.0-64-generic-pae #97-Ubuntu SMP Wed Jun 4 22:22:15 UTC 2014 i686 i686 >i386 GNU/Linux

Best Answer

You're correct. If you're not running X on a Nvidia device, you can't manage the Nvidia driver. You can verify this by running echo $DISPLAY. It should be :0, but X forwarding will change that to something else. I believe it might run another X server just for forwarding.

Related Question