Login screen freezes after entering login/password, but works for root user

after spending another night, I was able to log in under my account, doing the following:

  1. boot
  2. CTRL + ALT + F3 (text console)
  3. log in as root (my user simply don’t works as expected, saying “command not found” for any command)
  4. sudo su xxx, where xxx is my user
  5. startx

startx loads the environment, however with weird fonts and some UI bugs, but still it works.

I tried to analyze logs

journalctl -p 3 -xb

-- Reboot --
Nov 09 00:44:34 maks systemd-modules-load[292]: Failed to find module 'platform-integrity'
Nov 09 00:44:34 maks systemd-udevd[365]: could not read from '/sys/module/fjes/initstate': No such device
Nov 09 00:44:35 maks kernel: psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
Nov 09 00:44:35 maks kernel: psmouse serio1: elantech: failed to query capabilities.
Nov 09 00:44:41 maks wpa_supplicant[1205]: nl80211: kernel reports: Attribute failed policy validation
Nov 09 00:44:41 maks wpa_supplicant[1205]: Failed to create interface p2p-dev-wlp0s20f3: -22 (Invalid argument)
Nov 09 00:44:41 maks wpa_supplicant[1205]: nl80211: Failed to create a P2P Device interface p2p-dev-wlp0s20f3
Nov 09 00:44:43 maks kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x01770740
Nov 09 00:44:47 maks kernel: ucsi_acpi USBC000:00: unknown error 0
Nov 09 00:44:47 maks kernel: ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
Nov 09 00:45:07 maks kernel: sd 0:0:0:0: [sda] Asking for cache data failed
Nov 09 00:45:07 maks kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through

and

cat /var/log/Xorg.0.log | grep EE

    cat /var/log/Xorg.0.log | grep EE                                                                                                                                                                                                    
[    23.100] Current Operating System: Linux maks 5.8.18-1-MANJARO #1 SMP PREEMPT Sun Nov 1 14:10:04 UTC 2020 x86_64
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    24.381] (EE) Failed to load module "intel" (module does not exist, 0)
[    24.381] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    24.381] (EE) Failed to load module "nv" (module does not exist, 0)
[    24.381] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    24.382] (EE) Failed to load module "vesa" (module does not exist, 0)
[    25.054] (II) Initializing extension MIT-SCREEN-SAVER
[    25.658] (EE) libinput: DELL097D:00 04F3:311C Touchpad: Failed to create a device for /dev/input/mouse1
[    25.658] (EE) PreInit returned 2 for "DELL097D:00 04F3:311C Touchpad"
[    26.016] (EE) Failed to open authorization file "/var/run/sddm/{ae5e5776-cbe0-4077-bafa-68eba3dc8922}": No such file or directory

Interesting, that I have the same errors even when logged in under root, so I don’t think it’s the root of the issue with freezing login page.

I have also successfully reinstalled nvidia driver for the latest recommended one - but it didn’t help.

So still looking forward to some help with debugging the issue, at least how to get an error message…