You are not logged in.
Hello!
I recently did a system wide update to my laptop. Afterwards, I can no longer reboot/power off my system as a user and my laptop seems to be switching to a high power state for extended periods of time for no apparent reason (I'm just using firefox), causing the charging of my laptop to take hours longer than it should.
I am running kernel 5.18.12 and I tested the latest LTS kernel as well - same results.
reboot
returns:
Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed out
sudo systemctl reboot
actually reboots the system.
Thanks for reading!
Edit:
sudo reboot
seems to work for some reason - not sure what's going on. I'll check my .zshrc but I definitely haven't changed the aliases for power management. Further edit: never had aliases set - I allowed the wheel group to reboot etc. in the sudoers file - did something change there?
Last edited by Mezzy12 (2022-07-22 13:06:06)
Offline
Afterwards, I can no longer reboot/power off my system as a user
How are attempting to perform these actions?
AFAIK SystemD wants you to use systemctl <poweroff/reboot>
Elogind+whatever-init-system users should use loginctl <poweroff/reboot> and so on.
Edit: I see you've updated your post.
Last edited by Irets (2022-07-21 16:08:35)
Offline
Mezzy12 wrote:Afterwards, I can no longer reboot/power off my system as a user
How are attempting to perform these actions?
AFAIK SystemD wants you to use systemctl <poweroff/reboot>
Elogind+whatever-init-system users should use loginctl <poweroff/reboot> and so on.Edit: I see you've updated your post.
Yeah I accidentally submitted it before I finished it
Offline
Notifications for Arch Linux package updates
RI - Rest your Eyes and Self
"We are eternal, all this pain is an illusion" - Maynard James Keenan
Offline
Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed out
Sounds like the session is degenerated.
loginctl session-status
and the last link below.
Offline
Failed to reboot system via logind: Method call timed out
Failed to talk to init daemon: Connection timed outSounds like the session is degenerated.
loginctl session-status
and the last link below.
I think I found the problem. Or a problem. When running
loginctl session-status
on the some of the last few lines I get
Jul 21 17:25:13 [hostname] sudo[5558]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jul 21 17:25:17 [hostname] sudo[5558]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=[username] rhost= user=[username]
Offline
No. homed is useless, not required and just spams the journal to whine about being unpopular.
Post the actual output. The head is actually far more interesting than the tail, but post all of it.
And because of
[hostname]
also
hostnamectl
(though a transient hostname is less likely to cause those symptoms)
Nobody cares it the hostname is "ponyville" and like your username ("pinkiepie"?) it's otherwise not sensitive data.
Offline
Okay so I decided to manually reinstall polkit and although it was up to date, apparently duktape wasn't up to date? Not sure how that happened but it did.
I can now reboot properly and my laptop is no longer in an incorrect power state.
Last edited by Mezzy12 (2022-07-21 16:56:33)
Offline
No. homed is useless, not required and just spams the journal to whine about being unpopular.
Post the actual output. The head is actually far more interesting than the tail, but post all of it.
And because of[hostname]
also
hostnamectl
(though a transient hostname is less likely to cause those symptoms)
Nobody cares it the hostname is "ponyville" and like your username ("pinkiepie"?) it's otherwise not sensitive data.
Ahah my real name is in both the hostname and username - I'd just prefer to keep that private
Thanks for your help!
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline