You are not logged in.
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
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
Type in your password?
I'm not at the PC when it asks. Its suppose to suspend the PC when I'm away
Offline
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