Nvidia-settings bug

I Use linux.
If I use microsoft remotedesk to use terminal and type nvidia-seetings, It reports such bugs:
$ nvidia-settings
ERROR: unable to load info from any available system

if I use a ssh to type nvidia-settings in terminal, it will report such bugs:
$ 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.

here is my
nvidia-bug-report.log.gz (2.8 MB)

I don’t know what’s wrong with my nvidia GPU or Linux system, hoping someone could help me! Thanks a lot!