Score:0

Reset X display configuration?

id flag

I should know better, but I was installing updated NVidia drivers for my laptop and have gotten things so messed up that X will not start properly. Using Kubuntu 21.04. The laptop is an Eluktronics RP-17 with an AMD Ryzen 7 4800H processor with graphics (used for the laptop display) and an NVidia 2060 that drives the monitor. I've tried a number of things with no success - removing and reinstalling both the AMDGPU and Nvidia-driver-470 packages, but I'm not having any success getting X to start properly. I've tried going back to the 460 driver, updating AMDGPU, but my guess is that my Xconfigs are so messed up that I need to revert to scratch. I've tried ./X -configure but it throws an error: Number of created screens does not match number of detected devices. Configuration failed.

Any assistance completely resetting the X display configuration would be appreciated.

Terrance avatar
id flag
In the `/etc/X11/` folder you should have backups of the `xorg.conf` file in there for any driver updates, etc. You can try copying the oldest one back as `xorg.conf`.
MJMcMahon67 avatar
id flag
I tried that, but there weren't any xorg.conf files present :(
Terrance avatar
id flag
You can try creating a new one using `sudo nvidia-xconfig`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.