View previous topic :: View next topic |
Author |
Message |
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Wed Mar 28, 2012 10:25 pm Post subject: [solved but need explication] restart, shutdown gray |
|
|
solved by emerging sudo package and mounting swap correctly
Hello, I have another problem about the power control on xfce4
I did what the site tell us to do (http://wiki.gentoo.org/wiki/Xfce)
which is Configuring policykit daemon. I also created another file for suspend/hibernate and udisk mounting authority.
However, suspend works, udisk mounting works, but hibernate, restart and shutdown are still gray. even I start x with root count, they are gray too.
Well, I have to let you that, restart and shutdown works in the last system that I've installed before, then I reinstalled system because the swap volume is too small to make hibernate work. so I reinstalled the system, the kernel is updated too, (the last version is 3.2.1-gentoo-r2) but this time restart, shutdown the hibernate are not possible.
Do you have any ideas?
Thanks
Desktop Env: xfce4
kernel: 3.2.12-gentoo
Last edited by pd1986 on Thu Mar 29, 2012 11:37 am; edited 1 time in total |
|
Back to top |
|
|
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Wed Mar 28, 2012 10:42 pm Post subject: |
|
|
hibernate is solved, pb is due to the incorrect swap mounting.
but restart and shutdown are still impossible. |
|
Back to top |
|
|
ultraincognito Guru
Joined: 03 Jun 2011 Posts: 346 Location: Ukraine
|
Posted: Thu Mar 29, 2012 6:53 am Post subject: |
|
|
I have normal shutdown and restart buttons in the Xfce but I haven't any policykits. Also I want note that my my suspend is called with a desktop icon by me. |
|
Back to top |
|
|
pd1986 Guru
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Thu Mar 29, 2012 11:35 am Post subject: |
|
|
problem solved.
installed sudo package, and buttons become available but need password to launch. So I add nopasswd to my count in visudo, then it works.
However I don't understand, I am not authorized by configuring polkit and consoledkit. I examined the polkit configuration. Generally, the group wheel is authorized by default. why do I also need sudo? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|