On the machine where the X server is running (i.e. the target machine) try running:
xhost +
then retry the nvidia-settings
command from the remote machine. And it’s quite possible that 1:0 is not the correct display indicator for your target machine.
also report what
echo $DISPLAY
reports on the target machine, if anything