Can not use Restart or Shutdown on the start menu.

This is essentially the same problem as "Unable to reboot/shutdown from Xfce (Debian Testing) by Pirlouis on 2011-10-11"

It is the same in that these buttons are greyed out. xfce is 4.10 on FreeBSD 9.1RC3.

My issue is only with out to activate the menu. I have configured the system as to have full access to the shutdown command as a non privileged user. The scripts ck-system-restart and ck-system-stop in /usr/local/lib/ConsoleKit/scripts work.

I do not see this as a FreeBSD issue. My issue is how to make the shutdown/restart buttons invoke the appropriate process. I had done what the install notes say should be added. This has no effect.

To be able to shutdown or reboot your system, you'll have to add a .pkla filein /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which lookslike this (replace PUTYOURGROUPHERE by your group):

Re: Can not use Restart or Shutdown on the start menu.

This is essentially the same problem as "Unable to reboot/shutdown from Xfce (Debian Testing) by Pirlouis on 2011-10-11"

It is the same in that these buttons are greyed out. xfce is 4.10 on FreeBSD 9.1RC3.

My issue is only with out to activate the menu. I have configured the system as to have full access to the shutdown command as a non privileged user. The scripts ck-system-restart and ck-system-stop in /usr/local/lib/ConsoleKit/scripts work.

You don't touch theses scripts, later, if you uninstall sysutils/consolekit, you'll get lots of warnings.

To be able to shutdown/reboot, you must create .pkla file in /usr/local/etc/polkit-1/localauthority/50-local.d/ (like below).

dtd wrote:

To be able to shutdown or reboot your system, you'll have to add a .pkla filein /usr/local/etc/polkit-1/localauthority/50-local.d directory. Which lookslike this (replace PUTYOURGROUPHERE by your main group):

Re: Can not use Restart or Shutdown on the start menu.

?? The first thing I did was make a .pkla file. As stated, that had no effect. The rest of the post was to indicate that as the X11 user I have access to shutdown. I assumed that the ConsoleKit scripts would be invoked by the menu. If that is the case, those scripts work, i.e., I can invoke them directly to shutdown or reboot.