Ubuntu 16.04 get error: Unable to load info from any available system

After installing a brand new ubuntu 16.04 system with nvidia-driver-430 and I can not change default graphic to nvidia card. And When I run command nvidia-setting, I have got:

nvidia-setting
Error: Unable to load info from any available system

And when I uses command nvidia-smi
I got these :

nvidia-smi
Tue Sep 24 17:26:31 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.50       Driver Version: 430.50       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1050    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   38C    P0    N/A /  N/A |      0MiB /  4042MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

nvidia-bug-report.log.gz (1.05 MB)

I have similar situation on ubuntu18.04. How could I fix this problem?

1075976432, you used the .run installer on an Optimus system, that doesn’t work. Normally, you should add the Ubuntu graphics ppa, install the driver from there, install the package nvidia-prime and then run sudo prime-select nvidia to switch to nvidia.
-but-
the 430 driver provided for 16.04 by the ppa is broken, so I’d rather recommend installing 18.04, installing the driver on OS install or through the Software&Updates application and finish.