Unable to reach the login screen unless I swtich through ttys a few times

Sorry for the crappy picture, I don’t know how to copy from tty.

Regarding echo $XDG_SESSION_TYPE it’s X11

I’ve done

sudo pacman -Syu haveged
systemctl enable haveged --now

but that didn’t seem to do anything, I still need to cycle through ttys a few times before going back to tty and being able to log in.

Thank you very much for your ongoing assistance.

Possibly unrelated, but I got this error Possibly missing firmware for module: xhci_pci when I ran sudo mkinitcpio -P && sudo update-grub

This is preventing the login functionality:

gkr-pam: unable to locate daemon control file

That can happen because of a couple of reasons, so we can try to fix without entering in a lot of details, just run from terminal:
dbus-launch gsettings reset org.gnome.clocks world-clocks
in case time settings is an issue.

More extreme (you will lose all custom settings but have them in that backup file):
mv ~/.config/dconf/radu ~/.config/dconf/radu.bak

More direct and with no backup, run this:
dconf reset -f /

Reinstalling some packages might also help:
sudo pacman -Syu gdm gnome-shell gnome-keyring libgnome-keyring

dbus-launch gsettings reset org.gnome.clocks world-clocks

gives

No such schema “org.gnome.clocks”

I tried dconf reset -f /

I tried sudo pacman -Syu gdm gnome-shell gnome-keyring libgnome-keyring

to no avail. Issue remains

You mean after reboot?

Yes, @bogdancovaciu after reboot I am greeted with a black screen and a blinking cursor. This time, not even switching ttys allowed me to log in. I had to force shutdown by long-pressing the power button, boot again to the same black screen and blinking cursor, cycle through a few ttys and only then was I able to get to the login screen.

There is something else going on there, please see this and follow accordingly and see the linked topics to it too:

Have you tried a different Kernel?

I’ve tried 5.6, 5.7 and 5.8. they all do the same.

Very strange indeed, could you check your logs after a successful boot if there is any indication of what causes it?
Run bmenu if it’s already installed, press D in the main menu and check options 5,6,7

Yeah… well… I wouldn’t know how to read those logs. All that programmer talk means nothing to me. I have just started using Linux this spring, after having been on Windows exclussively for the last 20 years.

We can try to take a look on the logs if you post them here :slightly_smiling_face:. Let’s start with:

journalctl -p 3 -x

sudo dmesg -T --level=err,warn

And these only after a succesful reboot?

That shouldn’t really matter as the logs would also show us previous boots. Of course if you can somehow copy/paste from tty after a failed boot it would be even better.

How do you even copy from tty?

But thing is, when it fails to boot I usually can’t even enter tty, it just freezes on a black screen even the cursor doesn’t blink. I can only long press power to force a shutdown.

Via remote connection for example, but we should be fine if you post the logs from a graphical session. May i ask if this problem does only happen on Manjaro for you, or did you also try other distro’s?

It used to happen on Pop!_OS as well, however not as often.

It usually takes three force shutdowns until I get a login screen. As it did just now.

Here are some logs:

journalctl -p 3 -x
    Journal file /var/log/journal/caa6018b01a24d5c98f2dab3d32e22ae/user-1000@0005ad5cd47ca075-ead1bde231857167.journal~ uses an unsupported feature, ignoring file.
    Use SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/caa6018b01a24d5c98f2dab3d32e22ae/user-1000@0005ad5cd47ca075-ead1bde231857167.journal~ to see the details.
    -- Logs begin at Mon 2020-08-17 22:02:44 EEST, end at Fri 2020-08-21 18:57:58 EEST. --
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[322]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[321]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:45 manjaro systemd-vconsole-setup[404]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:56 manjaro gdm-password][1122]: gkr-pam: unable to locate daemon control file
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Dat>
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00001>
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:    [12] Timeout               
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Ad>
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for :1.137/Profile/HSPHSProfile/00001108-0>
    Aug 17 22:10:01 manjaro gdm[374]: GLib: Source ID 113 was not found when attempting to remove it
    Aug 17 22:11:36 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[325]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[326]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:54 manjaro systemd-vconsole-setup[1410]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[320]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[319]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[314]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[315]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:30 manjaro systemd-vconsole-setup[1393]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:56 manjaro gdm-password][2615]: gkr-pam: unable to locate daemon control file
    Aug 17 22:30:17 manjaro bluetoothd[1377]: 70:99:1C:BA:5E:DA: error updating services: Software caused co>
    Aug 17 22:30:17 manjaro kernel: Bluetooth: hci0: HCI reset during shutdown failed
    Aug 17 22:30:19 manjaro bluetoothd[1377]: Control: Refusing unexpected connect
    Aug 17 22:33:37 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[301]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[300]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:02 manjaro systemd-vconsole-setup[1617]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:25 manjaro gdm-password][2857]: gkr-pam: unable to locate daemon control file
    -- Reboot --
    lines 1-34...skipping...
    -- Logs begin at Mon 2020-08-17 22:02:44 EEST, end at Fri 2020-08-21 18:57:58 EEST. --
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[322]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[321]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:45 manjaro systemd-vconsole-setup[404]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:56 manjaro gdm-password][1122]: gkr-pam: unable to locate daemon control file
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00001000/00002000
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:    [12] Timeout               
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for :1.137/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98)
    Aug 17 22:10:01 manjaro gdm[374]: GLib: Source ID 113 was not found when attempting to remove it
    Aug 17 22:11:36 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[325]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[326]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:54 manjaro systemd-vconsole-setup[1410]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[320]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[319]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[314]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[315]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:30 manjaro systemd-vconsole-setup[1393]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:56 manjaro gdm-password][2615]: gkr-pam: unable to locate daemon control file
    Aug 17 22:30:17 manjaro bluetoothd[1377]: 70:99:1C:BA:5E:DA: error updating services: Software caused connection abort (103)
    Aug 17 22:30:17 manjaro kernel: Bluetooth: hci0: HCI reset during shutdown failed
    Aug 17 22:30:19 manjaro bluetoothd[1377]: Control: Refusing unexpected connect
    Aug 17 22:33:37 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[301]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[300]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:02 manjaro systemd-vconsole-setup[1617]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:25 manjaro gdm-password][2857]: gkr-pam: unable to locate daemon control file
    -- Reboot --
    Aug 18 07:13:37 manjaro systemd-vconsole-setup[317]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:13:37 manjaro systemd-vconsole-setup[318]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:13:38 manjaro systemd-vconsole-setup[1841]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 18 07:14:31 manjaro systemd-vconsole-setup[307]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:14:31 manjaro systemd-vconsole-setup[308]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:14:32 manjaro systemd-vconsole-setup[1668]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 18 07:15:39 manjaro systemd-vconsole-setup[323]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:15:39 manjaro systemd-vconsole-setup[322]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:15:40 manjaro systemd-vconsole-setup[1634]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:16:08 manjaro gdm-password][3158]: gkr-pam: unable to locate daemon control file
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00001000/00002000
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER:    [12] Timeout               
    -- Reboot --
    Aug 18 08:13:04 manjaro systemd-vconsole-setup[314]: /usr/bin/setfont failed with exit status 66.
    Aug 18 08:13:04 manjaro systemd-vconsole-setup[315]: /usr/bin/setfont failed with exit status 66.
    Aug 18 08:13:05 manjaro systemd-vconsole-setup[1850]: /usr/bin/setfont failed with exit status 66.
    Aug 18 08:13:17 manjaro gdm-password][2349]: gkr-pam: unable to locate daemon control file
    Aug 18 09:29:15 manjaro bluetoothd[1836]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
    Aug 18 09:29:15 manjaro bluetoothd[1836]: RFCOMM server failed for :1.519/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98)
    lines 1-56






















































    -- Logs begin at Mon 2020-08-17 22:02:44 EEST, end at Fri 2020-08-21 18:57:58 EEST. --
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[322]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:44 manjaro systemd-vconsole-setup[321]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:45 manjaro systemd-vconsole-setup[404]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:02:56 manjaro gdm-password][1122]: gkr-pam: unable to locate daemon control file
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00001000/00002000
    Aug 17 22:07:00 manjaro kernel: pcieport 0000:00:1c.5: AER:    [12] Timeout               
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
    Aug 17 22:08:44 manjaro bluetoothd[841]: RFCOMM server failed for :1.137/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98)
    Aug 17 22:10:01 manjaro gdm[374]: GLib: Source ID 113 was not found when attempting to remove it
    Aug 17 22:11:36 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[325]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:52 manjaro systemd-vconsole-setup[326]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:11:54 manjaro systemd-vconsole-setup[1410]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[320]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:12:39 manjaro systemd-vconsole-setup[319]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[314]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:29 manjaro systemd-vconsole-setup[315]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:30 manjaro systemd-vconsole-setup[1393]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:13:56 manjaro gdm-password][2615]: gkr-pam: unable to locate daemon control file
    Aug 17 22:30:17 manjaro bluetoothd[1377]: 70:99:1C:BA:5E:DA: error updating services: Software caused connection abort (103)
    Aug 17 22:30:17 manjaro kernel: Bluetooth: hci0: HCI reset during shutdown failed
    Aug 17 22:30:19 manjaro bluetoothd[1377]: Control: Refusing unexpected connect
    Aug 17 22:33:37 manjaro kernel: watchdog: watchdog0: watchdog did not stop!
    -- Reboot --
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[301]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:00 manjaro systemd-vconsole-setup[300]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:02 manjaro systemd-vconsole-setup[1617]: /usr/bin/setfont failed with exit status 66.
    Aug 17 22:34:25 manjaro gdm-password][2857]: gkr-pam: unable to locate daemon control file
    -- Reboot --
    Aug 18 07:13:37 manjaro systemd-vconsole-setup[317]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:13:37 manjaro systemd-vconsole-setup[318]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:13:38 manjaro systemd-vconsole-setup[1841]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 18 07:14:31 manjaro systemd-vconsole-setup[307]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:14:31 manjaro systemd-vconsole-setup[308]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:14:32 manjaro systemd-vconsole-setup[1668]: /usr/bin/setfont failed with exit status 66.
    -- Reboot --
    Aug 18 07:15:39 manjaro systemd-vconsole-setup[323]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:15:39 manjaro systemd-vconsole-setup[322]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:15:40 manjaro systemd-vconsole-setup[1634]: /usr/bin/setfont failed with exit status 66.
    Aug 18 07:16:08 manjaro gdm-password][3158]: gkr-pam: unable to locate daemon control file
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00001000/00002000
    Aug 18 07:17:03 manjaro kernel: pcieport 0000:00:1c.5: AER:    [12] Timeout               
    -- Reboot --
    Aug 18 08:13:04 manjaro systemd-vconsole-setup[314]: /usr/bin/setfont failed with exit status 66.
    Aug 18 08:13:04 manjaro systemd-vconsole-setup[315]: /usr/bin/setfont failed with exit status 66.
    Aug 18 08:13:05 manjaro systemd-vconsole-setup[1850]: /usr/bin/setfont failed with exit status 66.
    lines 1-53



[Fri Aug 21 18:56:32 2020] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[Fri Aug 21 18:56:32 2020] ACPI: Invalid active0 threshold
[Fri Aug 21 18:56:32 2020] resource sanity check: requesting [mem 0xfdffe800-0xfe0007ff], which spans more than pnp 00:05 [mem 0xfdb00000-0xfdffffff]
[Fri Aug 21 18:56:32 2020] caller pmc_core_probe+0x85/0x380 mapping multiple BARs
[Fri Aug 21 18:56:33 2020] usb: port power management may be unreliable
[Fri Aug 21 18:56:34 2020] nvidia: loading out-of-tree module taints kernel.
[Fri Aug 21 18:56:34 2020] nvidia: module license 'NVIDIA' taints kernel.
[Fri Aug 21 18:56:34 2020] Disabling lock debugging due to kernel taint
[Fri Aug 21 18:56:34 2020] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.100  Fri May 29 08:45:51 UTC 2020
[Fri Aug 21 18:56:34 2020] systemd-journald[228]: File /var/log/journal/caa6018b01a24d5c98f2dab3d32e22ae/system.journal corrupted or uncleanly shut down, renaming and replacing.
[Fri Aug 21 18:56:34 2020] i2c_hid i2c-ELAN1200:00: supply vdd not found, using dummy regulator
[Fri Aug 21 18:56:34 2020] i2c_hid i2c-ELAN1200:00: supply vddl not found, using dummy regulator
[Fri Aug 21 18:56:34 2020] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[Fri Aug 21 18:56:35 2020] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[Fri Aug 21 18:56:35 2020] iwlwifi 0000:04:00.0: Direct firmware load for iwl-debug-yoyo.bin failed with error -2
[Fri Aug 21 18:56:35 2020] thermal thermal_zone3: failed to read out thermal zone (-61)
[Fri Aug 21 18:56:36 2020] iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
[Fri Aug 21 18:56:37 2020] uvcvideo 1-7:1.0: Entity type for entity Realtek Extended Controls Unit was not initialized!
[Fri Aug 21 18:56:37 2020] uvcvideo 1-7:1.0: Entity type for entity Extension 4 was not initialized!
[Fri Aug 21 18:56:37 2020] uvcvideo 1-7:1.0: Entity type for entity Processing 2 was not initialized!
[Fri Aug 21 18:56:37 2020] uvcvideo 1-7:1.0: Entity type for entity Camera 1 was not initialized!
[Fri Aug 21 18:56:37 2020] iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
[Fri Aug 21 18:56:37 2020] kauditd_printk_skb: 56 callbacks suppressed
[Fri Aug 21 18:56:39 2020] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20200528/nsarguments-59)
[Fri Aug 21 18:56:55 2020] kauditd_printk_skb: 9 callbacks suppressed

This reoccurring error is strange, please run the following commands and post the output:

systemctl status systemd-vconsole-setup.service
cat /etc/vconsole.conf

There is a similar case in the old forum from a user using architect and gnome as well:

It sounds to be a keymap issue, arch wiki has some good background information to verify if your settings are OK or not:

https://wiki.archlinux.org/index.php/Linux_console/Keyboard_configuration