Score:0

System tries to go to suspend after login on 18.04

cn flag

has anyone ever encountered the problem, that the system tries to hibernate after a user logs in? In my case I freshly boot up my laptop, which is connected to an external USB-C port replicator (Dell), the lid is closed. I log in, the screen goes dark, after a few seconds the monitor reports "No signal", then nothing seems to happen (visually) and then I get the message "Freezing of tasks failed". I then get returned to the login screen, where I can again login in, screen goes dark, nothing happens. When I start to press some keys on my keyboard, I get a different login screen, something which shows up whenever you power up your system when it comes up from hibernation. And then I'm logged in, finally.

This is really pretty weird. I think that this behavior comes from the fact that my laptop has this external port replicator (a replacement for a docking station nowadays) on my USB-C port causes this effect, since I only use the external monitor and have the lid closed. So the system somehow thinks that it has to go to hibernation.

Has anyone ever encountered something similar like this?

I have some messages for you from dmesg, but I did not find any useful information in there:

[  381.095051] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[  387.882815] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.260797] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.268036] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.278210] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.280507] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.286001] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.290762] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.295803] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.309773] wlo1: deauthenticating from f4:92:bf:64:05:a7 by local choice (Reason: 3=DEAUTH_LEAVING)
[  433.325249] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.359429] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.360900] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[  433.626644] PM: suspend entry (s2idle)
[  433.637411] Filesystems sync: 0.010 seconds
[  433.641777] Freezing user space processes ... 
[  453.652391] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
[  453.652413] fbcon: Taking over console
[  453.652533] apport          D    0  3819      2 0x00004004
...
[  453.723754] PM: suspend exit
[  453.723786] PM: suspend entry (s2idle)
[  453.730743] Filesystems sync: 0.006 seconds
[  453.813685] Freezing user space processes ... 
[  454.272593] Console: switching to colour frame buffer device 240x67
[  473.819599] Freezing of tasks failed after 20.005 seconds (3 tasks refusing to freeze, wq_busy=0):

My laptop is a Dell Latitude 5510, if this might help (which I doubt). Any hint about where I can take a further look is welcome, many thanks in advance.

Regards, Thomas

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.