I upgraded to Ubuntu 24.04 a few weeks ago, but already like 1 week everything was running smoothly. And while I was doing some upgrades (mostly reinstalling CUDA, Nvidia driver, and some new conda envs, also playing around with the keyboard layout - Czech and Korean) the PC got stuck and nothing was working really - like no keyboard commands. I have turned off the PC and turned it on (just with the physical button). Now I am in this situation when it loads up to Login screen, I put my password and it breaks.
- Right after Login I get this screen.

- Then after sometime it turns into this. So you can see that some apps are running (conky and the notes), but not normal Ubuntu screen.

What I have tried so far.
From here: Ubuntu 24.04 doesn't load GUI and login screen after Upgrade from 23.10 I tried
systemctl status gdmbut I got this message
so I guess this part is ok? Or not? Because I found here How to solve: gkr-pam: unable to locate daemon control file? that is is just informational message, not error.And from this Unable to login to Ubuntu 24.04 I have tried to change my password, but it didn't help either.
I tried running
dpkg -l | grep ^..randdpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' | grep -E ^.[^nci]anddpkg -Cto see if anything is broken, but it didn't show me anything... Also,sudo apt update+sudo apt upgraderun without showing any error.I tried running
sudo apt install --reinstall ubuntu-desktop^as suggested in the comments
but I personally didn't see any error after the installation finished, so I tried to reboot the PC and still the same error.
Thank you for any advice!