Re: [arch-general] No suspend in systemd

2012-12-04 Thread Randy

On 12/04/2012 04:31 AM, Daniel Micay wrote:

On Mon, Dec 3, 2012 at 9:06 PM, Randy  wrote:

Hello,

Whenever I try to suspend my system using the systemd command 'systemctl
suspend', it will not suspend and returns the following messages:

Failed to issue method call: Operation not supported.
Failed to issue method call: Access denied.

Any idea what could be causing this to happen?

Thanks,

Randy



This is caused by a broken session, which is covered well in the wiki.[1]

[1]https://wiki.archlinux.org/index.php/General_Troubleshooting#Session_permissions

It appears that my problem was caused by the 'ACPI suspend type' not 
being set correctly in the bios. I just recently reinstalled Arch to my 
system and in the process of doing so my bios CMOS was cleared. When 
this happened it dumped the setting for the suspend type to SI (POS). 
After changing this setting to S3(STR) I am now able to suspend.


Thanks for the suggestions.

Randy


Re: [arch-general] No suspend in systemd

2012-12-04 Thread Randy

On 12/04/2012 01:02 AM, Curtis Shimamoto wrote:

On 12/04/12 at 07:25am, Δημήτρης Ζέρβας wrote:

try executing the command as root

This is probably a good call.  But if you are able to do this as root, I
think it means that your session is probably not authenticated.

$ loginctl show-session $XDG_SESSION_ID

Then make sure your it says "Active=yes"

I think it should be noted that this issue has been brought up numerous
times, and any quick search in the forums would probably have yeilded
this answer.


I should have provide more information in my original post concerning 
what I have tried so far.


I tried running as root an it won't suspend there either.

I also checked to see if my session was active and it is.


Re: [arch-general] No suspend in systemd

2012-12-04 Thread Daniel Micay
On Mon, Dec 3, 2012 at 9:06 PM, Randy  wrote:
> Hello,
>
> Whenever I try to suspend my system using the systemd command 'systemctl
> suspend', it will not suspend and returns the following messages:
>
> Failed to issue method call: Operation not supported.
> Failed to issue method call: Access denied.
>
> Any idea what could be causing this to happen?
>
> Thanks,
>
> Randy
>
>

This is caused by a broken session, which is covered well in the wiki.[1]

[1] 
https://wiki.archlinux.org/index.php/General_Troubleshooting#Session_permissions


Re: [arch-general] No suspend in systemd

2012-12-03 Thread Curtis Shimamoto
On 12/04/12 at 07:25am, Δημήτρης Ζέρβας wrote:
> try executing the command as root

This is probably a good call.  But if you are able to do this as root, I
think it means that your session is probably not authenticated.

$ loginctl show-session $XDG_SESSION_ID

Then make sure your it says "Active=yes"

I think it should be noted that this issue has been brought up numerous
times, and any quick search in the forums would probably have yeilded
this answer.
-- 
Curtis Shimamoto
sugar.and.scru...@gmail.com


Re: [arch-general] No suspend in systemd

2012-12-03 Thread Δημήτρης Ζέρβας
try executing the command as root


[arch-general] No suspend in systemd

2012-12-03 Thread Randy

Hello,

Whenever I try to suspend my system using the systemd command 'systemctl 
suspend', it will not suspend and returns the following messages:


Failed to issue method call: Operation not supported.
Failed to issue method call: Access denied.

Any idea what could be causing this to happen?

Thanks,

Randy