(In reply to Eric Koegel from comment #29)
> In xfsm_shutdown_try_suspend the logic is:
> SystemD ? use LoginD suspend
> Upower < 0.99 ? use Upower suspend
> Otherwise lock the screen and call pkexec xfsm-shutdown-helper --suspend
> 
> http://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/xfsm-shutdown.
> c#n312
> 
> Same for hibernate. I've been testing with a system that has consolekit +
> upower git master (it calls itself 0.99.2). Or is this for systems without
> polkit installed (or polkit-gobject-1 which is used for the fallback instead
> of sudo)? Just trying to figure out where it's gone wrong so we can fix it.
> 
> Does pkaction --action-id org.xfce.session.xfsm-shutdown-helper -v return
> anything?

The target system where I *assumed* the committed patch wouldn't work is
with active ConsoleKit session, working PolicyKit, no systemd, UPower
0.99.1 (or git, no real difference in this regard, as in, just UPower
with no hibernate and suspend capabilities) -- a system, where I expect
Hibernate and Suspend buttons to do direct pm-* command calls like the
patch in Comment #24 does

So, sorry, I didn't actually had chance to test it out yet, but I just
can't see the code that calls pm-suspend anywhere

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1178373

Title:
  Restart spawns a password box

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to