You are not logged in.

#1 2013-01-30 23:57:27

fixles
Member
Registered: 2012-09-15
Posts: 101

My user is a member of the power group but cant use pm-suspend

Hi,

My user is a member of the power group but cant run pm-suspend without sudo. The wiki says member of the power group can use pm-utils but its not working.

pm-suspend is in /usr/sbin so I tried creating a simlink to it in /usr/bin/suspend but the terminal just froze and nothing happened.

I'm trying to manually run xautolock -time 120 -locker "pm-suspend" So i can leave my PC on for a while when I go out. If I put sudo infront it just sits their waiting for a password.

Any ideas how I can fix this?

Thanks.

Offline

#2 2013-01-31 01:32:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: My user is a member of the power group but cant use pm-suspend

Type in your password?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-01-31 01:45:04

fixles
Member
Registered: 2012-09-15
Posts: 101

Re: My user is a member of the power group but cant use pm-suspend

cfr wrote:

Type in your password?

I'm not at the PC when it asks. Its suppose to suspend the PC when I'm away

Offline

#4 2013-01-31 02:00:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: My user is a member of the power group but cant use pm-suspend

Probably better to use systemctl to suspend. You shouldn't need to be in the power group.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB