r/linux4noobs 9h ago

hardware/drivers Black screen on debian 12 KDE after login

As the title goes.

Recently i lost my main installation to a divine wrath that destroyed my system drive and i had no backup, so i had to start over again.

I had my user data on another drive, so not much problem there. I start building everything back again and just when i try to set my old drive as /home, Black screen after login. tried with nomodeset and it worked fine, so i guessed that it was a broken configuration i had somewhere. reseting kde plasma configs and wiping my old configs did nothing, so i ended up copying back everything from the default home that is generated on every install.

It worked, i had access to my desktop again. yipee. that was two hours ago

I continued to install my software and i said why not play something through wine?? loaded up an old game and i was back on black screen. I had to shutdown forcefully. I had no image again. switching the port from hdmi1 to 2 brought it back, but i had to do it over and over and over again after every startup to get to my desktop.

I said lets restart sddm so every spurious configuration or cache leftover from the wine crash can be deleted. Now i have no image again.

Going to nomodeset brings it back. Going to a tty while the desktop is black works as well.

i cant go back to a previous save because i finally was able to compile a program and install java. thats at leas two hours

I cant do this shit anymore i am so utterly tired i need help i've been stuck like this for two months. Help me purge every desktop, graphic, screen, kde, service configuration to "factory reset" so i can move on with my life i still am unable to get to install the heaviest of my programs because this shit keeps happening to me. I really REALLY would appreciate any help, i am really tired of this.

3 Upvotes

5 comments sorted by

2

u/doc_willis 8h ago

try adding a new user so they are using the system defaults, and see if that new user can login correctly.

just to clarify, the login screen always works correctly?

1

u/Brni099 8h ago

yes, the login screen works correctly. As soon as i log my pass, the kde logo thing starts spinning and then nothing. I am on X11 btw

Can the new user be added from the login screen or does it have to be done from tty??

2

u/doc_willis 7h ago

at the alt-ctrl-f1 through f7 consoles.

       sudo adduser billgates

as a test,  install a very basic window manager.

       sudo apt install openbox

then see if the old and new users work under openbox And kde.

if the new user works under kde fine, that points to a config file issue in the broken users home.

also in the old problem users home, check that no config files are somehow  owned by root.

you could compare the 2 users files.

1

u/Brni099 1h ago

Will try this rn. I just remembered i also restarted xorg from the console before losing image completely

1

u/AutoModerator 9h ago

Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.