Find the answer to your Linux question:
Results 1 to 5 of 5
I am on Arch. Since latest update of polkit (the one with full systemd support and dropped support for consolekit), systemctl suspend (and other powerstate-related commands) don't work anymore: Code: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    61

    systemctl suspend doesn't work anymore


    I am on Arch.

    Since latest update of polkit (the one with full systemd support and dropped support for consolekit), systemctl suspend (and other powerstate-related commands) don't work anymore:
    Code:
    $ systemctl suspend
    Failed to issue method call: Access denied
    Failed to issue method call: Access denied
    Here is some more info
    Code:
    $ loginctl show-session $XDG_SESSION_ID
    ControlGroupHierarchy=/user
    NAutoVTs=6
    KillExcludeUsers=root
    KillUserProcesses=no
    IdleHint=yes
    IdleSinceHint=0
    IdleSinceHintMonotonic=0
    InhibitDelayMaxUSec=5s
    HandlePowerKey=poweroff
    HandleSuspendKey=suspend
    HandleHibernateKey=hibernate
    HandleLidSwitch=ignore
    PreparingForShutdown=no
    PreparingForSleep=no
    I removed consolekit entirely but it did not help.

  2. #2
    Just Joined!
    Join Date
    Nov 2012
    Posts
    5
    what packages did u install with the last update?

  3. #3
    Just Joined!
    Join Date
    Nov 2007
    Posts
    61
    Not sure, but is must be related to polkit upgrade.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2012
    Posts
    5
    try this and see if it will bring up the list of the last packages installed from update and tell me the output

    cat /var/log/dpkg.log | grep "\ install\ "

  6. #5
    Just Joined!
    Join Date
    Nov 2007
    Posts
    61
    I don't have
    /var/log/dpkg.log
    and
    /var/log/everything.log
    contains nothing about 'install'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •