Wiki‎ > ‎

Configure X11/Xorg gdm after switching monitors or video cards

posted Feb 3, 2016, 2:24 PM by Dong Xu
A potential universal solution is:

1. backup the current /etc/X11/xorg.conf
2. reinstall nvidia driver
3. use xorg.conf.saxsave and replace Device Section as follows. Note that PCI Bus ID can be obtained by


  Section "Device"                                                                                       |  Section "Device"
    BoardName    "GeForce GTX 970"                                                        |    BoardName    "Framebuffer Graphics"
    Driver       "nvidia"                                                                                   |    Driver       "fbdev"
    Identifier   "Device[0]"                                                                             |    Identifier   "Device[0]"
    VendorName   "NVIDIA Corporation"                                                     |    VendorName   "VESA"
    BusID        "PCI:4:0:0"                                                                             | 
  EndSection                                                                                             |  EndSection

restart X and re-configure with nvidia-settings