I want to use nvidia-settings in terminal by SSH and i have this error :
>>> DISPLAY=:0 XAUTHORITY=/var/run/lightdm/root/:0 nvidia-settings Failed to connect to Mir: Failed to connect to server socket: No such file or directory Unable to init server: Could not connect: Connection refused ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.
on Ubuntu Server 16.04, same for 18.04
Where to find the displays? I would like to understand why on some other posts DISPLAY=:0 solves the problem and not for me