Problem nvidia-xconf and nvidia-setting on Debian 10

Hi, I’ve got a GeForce 740M in the system.
I installed the Nvidia driver using the Debina site instruction. I’ve two problems.

  1. after install, when I run “nvidia-xconfig,” It seems to run smoothly. but when I restart the system, I see a black screen. When I delete the /etc/X11/xorg.conf file and restart, the system runs probably.
  2. I can’t use nvidia-setting,
    “ERROR: the control display is undefined”

I didn’t have this problem in my previous operating system, and after installing and using nvidia-xconfig, everything worked properly.

I do not understand the reason for this problem, and I am confused. If anyone knows, help me.
Thanks

nvidia-bug-report.log (208.1 KB)

xorg.log (4.1 KB)