You are not logged in.

#1 2009-11-15 10:43:54

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Xfce Power Manager works only as root

Hi,
I'm trying to set up my laptop with arch, but I'm having some problems. sad
I'm using some Xfce applications for my daily tasks over an Openbox environment.

Now I'm trying to get the power management to work and I would like to use xfce4-power-manager.
The big problem is that if I start it as a normal user, most of the buttons are inactive and a notification appears: "Hibernate and Suspend operation not permitted". The result is that I'm not able to do anything.

On the contrary, if I use the root user (or sudo) to start xfce-power-manager all buttons are active and I can set my preferences: but of course I need it to work as a normal user.

I've installed acpid and pm-utils and configured pm-suspend and pm-hibernate to run without password (and they wok indeed). Moreover I've added my user to the "power" group so I really can't understand what's going wrong.

Any help would be much appreciated, thank you! smile


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2009-11-15 11:57:27

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Xfce Power Manager works only as root

are you using a display manager?

Last edited by b9anders (2009-11-15 11:57:43)

Offline

#3 2009-11-15 12:00:44

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: Xfce Power Manager works only as root

Uhm? What is a display-manager?


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#4 2009-11-15 13:18:36

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Xfce Power Manager works only as root

an app like gdm, slim or kdm

Offline

#5 2009-11-15 14:01:30

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: Xfce Power Manager works only as root

Yes I'm using slim.
Anyways I solved installing PolicyKit and using this line in .xinitrc:

exec ck-launch-session openbox-session

big_smile


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

Board footer

Powered by FluxBB