Login issue to session

Watch a video from link. ^

After latest updates and restart, I can’t log in to the session. After I wrote my password correct, system returns back to the lock screen.

What’s wrong?

Which desktop environment is this? Is it themed to look like Windows?

Kde plasma environment.

Can you open a tty with Ctrl Alt F3 (or Ctrl Alt Fn F3), login using your username and password, connect to the internet by typing nmtui and pressing enter, and then run

sudo refresh-mirrors

sudo pacman -Syyu

I made all of this correctly, but it doesn’t help.

Hmm. We could try a clean reinstall of KDE Plasma or we can try login and check the logs for that time period.

For the second one, reboot and try logging in again. After it fails, immedietly go to a tty (Ctrl Alt F3 or Ctrl Alt Fn F3), login there, connect to the internet again with nmtui and run

journalctl -xe -b  --since "5 min ago" | nc termbin.com 9999

Then share the URL of the logs here

https://termbin.com/wgp5

This does not seem to contain your login logs. Were you able to try login on the graphical screen before going to the console? You need to first make the login fail and then go to the console - note down the time at which the login fails and then adjust the 5 min and change it to whatever time period that includes the time when you tried logging in. And you should not reboot after the login fails, so that you can get the appropriate logs from the above command

Okay. I try again. Maybe I forgot first try to log in before making a log.

https://termbin.com/c452

Right before you logged in to tty, these were the errors. Seems like your theme has problems accessing some things:

joulu 09 13:19:07 DELL-musakone sddm-greeter-qt6[661]: Loading file:///usr/share/sddm/themes/win10-sddm-theme/Main.qml...
joulu 09 13:19:07 DELL-musakone sddm-greeter-qt6[661]: file:///usr/share/sddm/themes/win10-sddm-theme/Main.qml:68:9: QML FontLoader: Cannot load font: "file:///usr/local/share/fonts/s/SegMDL2.ttf"
joulu 09 13:19:07 DELL-musakone sddm-greeter-qt6[661]: file:///usr/share/sddm/themes/win10-sddm-theme/Components/UserPanel.qml:44:5: QML QQuickImage: Cannot open: file:///var/lib/AccountsService/icons/jakke
joulu 09 13:19:07 DELL-musakone sddm-greeter-qt6[661]: file:///usr/share/sddm/themes/win10-sddm-theme/Components/UserList.qml:55:9: QML QQuickImage: Cannot open: file:///var/lib/AccountsService/icons/jakke

Can you login to the tty and check the following files?:

sudo ls -l /var/lib/AccountsService/icons/jakke

ls -l /usr/local/share/fonts/s/SegMDL2.ttf

Share the output here.

If that file exists, its permissions may be off. Perhaps we can try to reinstall KDE Plasma cleanly

sudo pacman -Rnc $(pacman -Qq | grep 'kde|plasma|sddm' | xargs)
sudo pacman -S plasma-meta kde-applications sddm
sudo systemctl enable sddm
sudo systemctl restart sddm

sudo ls -l /var/lib/AccountsService/icons/jakke

ls -l /usr/local/share/fonts/s/SegMDL2.ttf
.
Both of them says, that can’t handle. File or directory not exist.

Ok. You can proceed to the other commands that reinstall KDE Plasma cleanly.

sudo pacman -Rnc $(pacman -Qq | grep 'kde|plasma|sddm' | xargs)
sudo pacman -S plasma-meta kde-applications sddm
sudo systemctl enable sddm
sudo systemctl restart sddm

Okay. Or I reinstall whole operating system.

Not necessary to reinstall the whole OS. Just KDE Plasma as I gave the commands to run

Okay. I try them first.

First command doesn’t work.


Sorry. My operating system is in Finnish. See a picture.
Other commands works.

Sorry, I had a typo. Here is the corrected procedure (there is supposed to be -E with grep for extended patterns):

sudo pacman -Rnc $(pacman -Qq | grep -Ei 'kde|plasma|sddm' | xargs)
sudo pacman -S plasma-meta kde-applications sddm
sudo systemctl enable sddm
sudo systemctl restart sddm

Same issue still. I made all of this commands in order.

On the tty, run

/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland

OR

startx /usr/bin/startplasma-x11

(Prefix sudo if necessary)

If you can get to the graphical interface this way, remove the theme completely so that you can login normally next time