install diver and enable driver

use command mode:

# killall /usr/bin/X

download nvidia driver and install:

# sh NVIDIA-Linux-x86_64-331.67.run

start x with dirver:

this command to change x.conf config file

# nvidia-xconfig –enable-all-gpus –virtual=1600×1200

Section “Device"

Identifier “Device0″

Driver “nvidia"

VendorName “NVIDIA Corporation"

BoardName “GeForce GTX 1060 6GB"

BusID “PCI:3:0:0″

# 強制顯示卡啟動

Option “AllowEmptyInitialConfiguration" “true"

EndSection

Section “Device"

Identifier “Device1″

Driver “nvidia"

VendorName “NVIDIA Corporation"

BoardName “GeForce GTX 1060 6GB"

BusID “PCI:132:0:0″

# 強制顯示卡啟動

Option “AllowEmptyInitialConfiguration" “true"

EndSection

Section “Screen"

Identifier “Screen0″

Device “Device0″

Monitor “Monitor0″

DefaultDepth 24

SubSection “Display"

Virtual 1600 1200 # 設定虛擬螢幕解析度

Depth 24

EndSubSection

EndSection

Section “Screen"

Identifier “Screen1″

Device “Device1″

Monitor “Monitor1″

DefaultDepth 24

SubSection “Display"

Virtual 1600 1200 # 設定虛擬螢幕解析度

Depth 24

EndSubSection

EndSection