ubuntu 18.04+headless_390+intel iGPU after prime-select intel lost contact to GeFORCE 1050ti

This is expected, prime-select intel turns off the nvidia gpu.
Try this:

  • sudo prime-select nvidia
  • add ‘nogpumanager’ kernel parameter
  • create /etc/X11/xorg.conf
Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    BusID          "PCI:0:2:0"
EndSection
  • reboot