Black screen with a blinking underscore on top left

Soooo i did sudo pacman -Syu after that i restarted my pc by running the reboot command, after that sddm decided to die and i cant log into kde after that, i tried doing ctrl + alt + f3 and then log in after that i ran sudo startx /usr/bin/startplasma-x11, still nothing like a black screen with a cursor in the middle, thats all.

Had the same issue today for first time. And had to close my computer and re- open it to log to the KDE

Please provide hardware info.

I’m out of the loop because I got rid of X months, years, ago – but, do you really need sudo to start an X session?
I would figure config files, etc, would then also be used from root’s home /root, which sounds weird to me.

hey naim, in this case it was not necessary, it was an sddm issue. apparently it happens to alot of people on arch. so i just got a different login manager and it worked flawlessly.

to the people who are facing the same issue and want to get another login manager follow these steps

if you are stuck on the black screen, press ctrl alt f2

enter your username and password

sudo systemctl stop sddm

sudo pacman -Rns sddm sddm-kcm cachyos-themes-sddm

here is a list of login managers/display managers

after that use pacman to install the display manager that you want, for me i chose emptty.

sudo pacman -S emptty

and then sudo systemctl enable emptty

and then just reboot and you’ll be able to login using emptty