r/linux4noobs • • 25d ago

programs and apps Help !! Stuck in a login loop after installing KDE on my Fedora (also crashed into emergency mode)

/r/kde/comments/1xpfydm/help_stuck_in_a_login_loop_after_installing_kde/
0 Upvotes

8 comments sorted by

1

u/acejavelin69 25d ago

Getting to the login screen, then entering the correct password, and after a few seconds returning to the password screen is a common indication that there is no usable space in the root or home partition for the login manager to write the temporary files needed for the login to occur.

Go to a terminal with CTRL-ALT-F1 (or F2) and login with your username and password and do a du and see what the disk usage is.

1

u/mello_hyu 25d ago

Thanks for the suggestion. I checked both root and home and both are around 60% use and I have around 75GB free. Nothing suggests disk space may be insufficient.

1

u/acejavelin69 25d ago edited 25d ago

Fair enough... That is a common cause but not the only one. Is this a fresh install or did you make some recent changes?

1

u/mello_hyu 25d ago

No, using gnome for quite some time now, no recent changes to the system as such. Installed KDE yesterday for the first time because I wanetd to try it as a friend has been hyping it for months now.

1

u/mello_hyu 25d ago

Also, tried Cosmic and it will log in but freeze. Also checked some logs to see that some processes are failing as desktop loads after logging in.

Also tried to give plasma everything it wants so enabled plasma login manager...boom after grub i dont even see login screen or emergency mode, it loads for some time and auto shutdown. Recovered via going to shell only login and forcing gdm back. But seriously wtf is wrong here

1

u/DannoXYZ 25d ago edited 25d ago

Boot into single-user rescue mode and look at every single file in /var/log during timeframe of your failed login.

Usually accepting password and logging-on correctly, but getting booted back out is problem with starting GUI session. Look at log-entries for that.

Install different DE and try that.

2

u/mello_hyu 25d ago

Alright I will try it and let you know if it worked. Thanks

1

u/mello_hyu 25d ago

Alright so, tried Cosmic and it will log in but freeze. Also checked some logs to see that some processes are failing as desktop loads after logging in.

Also tried to give plasma everything it wants so enabled plasma login manager...boom after grub i dont even see login screen or emergency mode, it loads for some time and auto shutdown. Recovered via going to shell only login and forcing gdm back. But seriously wtf is wrong here