Xfce 4.10 on FreeBSD 9 release powerpc

Takashi Fujita rina.inverse01 at gmail.com
Thu May 17 02:13:34 UTC 2012


(2012/05/17 1:45), Olivier Duchateau wrote:
> To enable shutdown/restart, just replace 'PUTYOURGROUPHERE' with your
>>  own user group, and create a .pkla file under
>>  /usr/local/etc/polkit-1/localauthority/50-local.d (use mkdir -p to
>>  create this).
The file "org.freedesktop.consolekit.pkla" was created by the following 
contents.

[Local restart]
  Idendity=unix-group:power
  Action=org.freedesktop.consolekit.system.restart
  ResultAny=yes
  ResultInactive=no
  ResultActive=yes

  [Local shutdown]
  Idendity=unix-group:power
  Action=org.freedesktop.consolekit.system.stop
  ResultAny=yes
  ResultInactive=no
  ResultActive=yes

  [Local restart - multiple]
  Idendity=unix-group:power
  Action=org.freedesktop.consolekit.system.restart-multiple-users
  ResultAny=yes
  ResultInactive=no
  ResultActive=yes

  [Local shutdown - multiple]
  Idendity=unix-group:power
  Action=org.freedesktop.consolekit.system.stop-multiple-users
  ResultAny=yes
  ResultInactive=no
  ResultActive=yes

   The user who logs in was added to the power group.

   However, the button of a reboot and a shutdown is invalid and it 
cannot push.
   If it carries out, how can it push?


-- 
Takashi Fujita
rina.inverse01 at gmail.com


More information about the freebsd-ports mailing list