Booting to command line

I’m not sure what I did. I was trying to enable Nvidia on my hybrid graphics laptop with suse-prime, forgetting that I’d blacklisted Nvidia to get the display running back when my installation was new. I ran nvidia-xconfig and tried to restart X. Restarted my computer and it went straight to a command prompt. That’s when I remembered the blacklist. I uninstalled suse-prime, removed Nvidia drivers, and tried to get Intel graphics running again, but it stayed in the command line interface.

I’ve done something stupid, haven’t I? Have I messed up my whole system? This is my var/log/Xorg.*.log output: https://susepaste.org/76416089

Never mind, figured it out! Trying to configure Nvidia created something in the xorg config file. I took out the lines about Nvidia and the graphics worked!

Everything’s super large and low resolution on the screen now, but I’ll figure it out—

It’s years since I messed with nvidia so you might want to wait for some answers.
But it looks like your xorg is still trying to load nvidia

Have you tried adding nomodeset to the boot arguments or tried booting a previous kernel?

I figured it out! When I ran that nvidia-xconfig, it made a config file. So I opened that up thinking that might be the cause and took out the lines about Nvidia and rebooted. It works!

However, everything is super low resolution now, it asked for a new KWallet password, programs logged me out, my wi-fi was logged out, my desktop background is now the default: all that from messing with Nvidia? I went into display settings and now 960 x 540 is the maximum resolution.

I’ll figure it out probably. At least I don’t have to reinstall the operating system like I was about to do!

Edit: This might be because I messed around with KDE when trying to get the display to come back, hmm.
Edit2: I am really not sure how to get back to normal. The resolution is low and YaST “is not valid.” Any advice in diagnosing this?

Okay, this is still a very vexing problem. The only issue that remains is the very low resolution and lack of options to change it.

So I got my computer working again by commenting out instances of Nvidia in /etc/X11/xorg.conf. I also along the way tried rm -rf .config .local, which I read about somewhere, thinking I had a problem with the desktop environment. Did one of these cause this issue?

When I boot I also get the message “Failed to start Load Kernel Modules” before the display comes on. This message was there all of today after I messed with nvidia-xconfig. I still have Nvidia blacklisted, so I don’t know why.

All right, I’ve fixed it; sorry. I straight-up deleted xorg.conf and everything’s back to normal.

Also you may rename it.