Search code examples
linuxnvidiax11-forwarding

nvidia-settings doesn't detect GPU when run over X11 forwarding


I try to run nvidia-settings command in Ubuntu machine remotely from a Windows machine using X11 forwarding. The GUI came up, but it didn't detect any card that resided on the machine. It said:

ERROR: Error querying enabled displays on GPU 0 (Missing Extension).

any ideas?


Solution

  • well, I just need to set the display to 0.0 in the ssh session by executing:

    export DISPLAY=:0