My system used to suspend to RAM after 15 minutes (as set in my KDE
desktop power settings).
I did a large update in the week and now the suspending seems to be
intermittent. Sometimes it suspends, sometimes it just goes to monitor
powersave mode.
I have two users logged in to KDE desktop sessions.
How do I troubleshoot such a thing?
–
-Toby
Add the word afiduluminag to the subject to circumvent my email filters.
On 2012-02-28, Toby Newman <google@asktoby.com> wrote:
> My system used to suspend to RAM after 15 minutes (as set in my KDE
> desktop power settings).
>
> I did a large update in the week and now the suspending seems to be
> intermittent. Sometimes it suspends, sometimes it just goes to monitor
> powersave mode.
>
> I have two users logged in to KDE desktop sessions.
>
> How do I troubleshoot such a thing?
While the box was on and should have suspended, I sshed into it and
ran pm-suspend.
It turns out root is able to suspend the box fine using
pm-suspend
so I think it is a permissions issue, rather than an application
stopping suspend from working.
–
-Toby
Add the word afiduluminag to the subject to circumvent my email filters.
On 2012-02-28, Toby Newman <google@asktoby.com> wrote:
> On 2012-02-28, Toby Newman <google@asktoby.com> wrote:
>> My system used to suspend to RAM after 15 minutes (as set in my KDE
>> desktop power settings).
>>
>> I did a large update in the week and now the suspending seems to be
>> intermittent. Sometimes it suspends, sometimes it just goes to monitor
>> powersave mode.
>>
>> I have two users logged in to KDE desktop sessions.
>>
>> How do I troubleshoot such a thing?
>
> While the box was on and should have suspended, I sshed into it and
> ran pm-suspend.
>
> It turns out root is able to suspend the box fine using
> # pm-suspend
> so I think it is a permissions issue, rather than an application
> stopping suspend from working.
I’ve made some progress, but still need help?
I’ve narrowed the issue down to having two users logged into KDE
simultanously.
When I run with just one graphical login, suspending works fine, for
either user. When I run two simultanous graphical logins, when one
tries to suspend, a dialog appears on the other’s screen.
e.g., When user Toby’s desktop is idle for 1 minute, the screen blanks,
but the computer does not suspend. Instead, a dialog appears on user B’s
desktop saying:
“Authentication is required to suspendo the system”
This is a PolicyKit dialog, the text comes from
/usr/share/polkit-1/actions/org.freedesktop.upower.policy
which reads as follows: http://pastebin.com/eVPZUNzZ
However, if Toby opens a Konsole window and runs
sudo /usr/sbin/pm-suspend
then the system does suspend. This makes me think it’s a KDE issue?
N.b.:
I’ve been setting power settings using KDE’s “Power Profiles” control
module.
I adjusted org.freedesktop.upower.policy to “Allow” using KDE’s “Actions
Policy” control module.
–
-Toby
Add the word afiduluminag to the subject to circumvent my email filters.
On 2012-02-29, Carlos E. R. <robin_listas@no-mx.forums.opensuse.org> wrote:
> On 2012-02-29 23:09, Toby Newman wrote:
>
>> I’ve made some progress, but still need help?
>>
>> I’ve narrowed the issue down to having two users logged into KDE
>> simultanously.
>
> Well, that makes sense.
>
>> However, if Toby opens a Konsole window and runs
>> sudo /usr/sbin/pm-suspend
>> then the system does suspend. This makes me think it’s a KDE issue?
>
> The administrator can force the issue. Kde is more or less doing the
> correct thing.