GPU conflict on 16.04

I have my old desktop with a old GTX580 and K40. The GTX580 finally burnt out after many years of service. I replaced with an old C2095 since K40 does not have video output. But 16.04 just stopped allowing me to login afterward. I know that it has to be the video driver problem since…