You are not logged in.
I have a strange problem that I have no idea how to solve or even search answers for. I have a nice simple KDE plasma Arch system on a relatively strong laptop with a decent SSD. My boot time is around 10 seconds from BIOS to login screen.
On first start up if I input my password I am immediately taken to a KDE loading screen and in 2-3 seconds I am in my desktop. However, if I close the laptop lid, and the laptop goes into sleep mode after a wake up I input my password again and seemingly nothing happens. The system is not frozen, as I can move my cursor, click at the login button, but nothing seems responsive. After 15-20 seconds I am taken to the desktop, and everything works fine, but this time is clearly longer then a full boot sequence so something must be wrong here.
Any tips or ideas?
Last edited by 0505Oryon (2024-07-04 13:33:57)
Offline
20 secs sound like a potential DBUS timeout... and/or systemd user session freezing not properly unfreezing.
What's in your
sudo journalctl -b
after wakeup and login in? Assuming it's systemd user session freezing this should get fixed by creating the files /etc/systemd/system/systemd-homed.service.d/override.conf with
[Service]
Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
and /etc/systemd/system/systemd-suspend.service.d/override.conf
[Service]
Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
and running
systemctl daemon-reload
Last edited by V1del (2024-07-04 12:52:28)
Offline
20 secs sound like a potential DBUS timeout... and/or systemd user session freezing not properly unfreezing.
What's in your
sudo journalctl -b
after wakeup and login in? Assuming it's systemd user session freezing this should get fixed by creating the files /etc/systemd/system/systemd-homed.service.d/override.conf with
[Service] Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"
and /etc/systemd/system/systemd-suspend.service.d/override.conf
[Service] Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false"
and running
systemctl daemon-reload
It seems it fixed it, thanks a lot for the help!
Offline
FWIW to be complete you need to create the second file under /etc/systemd/system/systemd-{suspend,hibernate.hybrid-sleep.suspend-then-hibernate}.d/override.conf as well to cover all the different sleep states.
Offline