pacman -S lightdm-openrc
---ask to remove displaymanager-openrc in conflict, say yes---
rc-update add lightdm default
rc-service lightdm start
reboot
the system is working but, when back after suspend in ram, lightdm prompts the login screen, with the same behavior.
screen goes black and freeze.
dmesg
ACPI: PM: Waking up from system sleep state S3
[ 3399.013686] [drm] PCIE GART of 1024M enabled (table at 0x000000F400300000).
[ 3399.013706] amdgpu: smu version 27.24.00
[ 3399.013858] sd 1:0:0:0: [sda] Starting disk
[ 3399.014045] sd 6:0:0:0: [sdb] Starting disk
[ 3399.014097] xhci_hcd 0000:01:00.0: xHC error in resume, USBSTS 0x401, Reinit
[ 3399.014100] usb usb3: root hub lost power or was reset
[ 3399.014102] usb usb4: root hub lost power or was reset
[ 3399.014849] serial 00:04: activated
[ 3399.178811] [drm] UVD initialized successfully.
[ 3399.195862] r8169 0000:03:00.0 eth0: Link is Down
[ 3399.325547] ata3: SATA link down (SStatus 0 SControl 300)
[ 3399.326639] ata4: SATA link down (SStatus 0 SControl 300)
[ 3399.380124] [drm] VCE initialized successfully.
[ 3399.479359] ata7: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3399.479826] ata7.00: configured for UDMA/133
[ 3399.492942] usb 3-7: reset low-speed USB device number 2 using xhci_hcd
[ 3399.536070] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 3399.539427] ata8: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 3399.556070] ata2.00: configured for UDMA/133
[ 3399.744429] ata8.00: configured for UDMA/100
[ 3400.122889] usb 3-10: reset low-speed USB device number 3 using xhci_hcd
[ 3400.539940] OOM killer enabled.
[ 3400.539944] Restarting tasks ... done.
[ 3400.542090] PM: suspend exit
[ 3400.542147] elogind[1825]: System resumed.
[ 3400.549817] elogind[1825]: New session c2 of user lightdm.
[ 3403.880203] r8169 0000:03:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[ 3418.578877] elogind[1825]: Removed session c2.
[ 3446.734683] elogind[1825]: New session 2 of user me-myself.
here i am in tty1 with that output
rc-service lightdm restart
and then, dmesg:
[ 3922.186482] elogind[1825]: Removed session 1.
[ 3923.192735] elogind[1825]: Existing logind session ID 2 used by new audit session, ignoring.
[ 3923.193015] elogind[1825]: New session c3 of user me-myself.
here again but the old session is lost