I have X Server running and nvidia drivers installed on remote host (Debian) and local machone (Kali Linux).
When I SSH to remote host with ssh -X option, I can run any X app (like firefox, xclock, etc), except nvidia-settings. The command:
nvidia-settings --display=:10 --verbose=all
produces:
WARNING: NV-CONTROL extension not found on this Display.
ERROR: Unable to load info from any available system
ERROR: Unable to assign attribute <XX> specified on line <YY> of configuration file '~/.nvidia-settings-rc' (no Display connection).
I tried to run it as a root.
For that I added credentials to root user /.Xauthority:
sudo -s
xauth add $(xauth -f <NON_ROOT_USER_HOME_FOLDER>/.Xauthority list | tail -1)
Now I can execute any X Window app as a root, like xcalc, xclock, etc.
Nut when I run nvidia-settings --display=:10 --verbose=all
, I have the same problem - no display detected:
(nvidia-settings:1122): dbind-WARNING **: 16:20:09.388: Couldn’t connect to accessibility bus: Failed to connect to socket /tmp/dbus-TyVgj6rszA: Нет такого файла или каталога (english: no such file or folder)
WARNING: NV-CONTROL extension not found on this Display.
ERROR: Unable to load info from any available system
Could you please advice what can cause the issue?