Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 11:13:29 +0900
From:      Takashi Fujita <rina.inverse01@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Xfce 4.10 on FreeBSD 9 release powerpc
Message-ID:  <4FB45EC9.6090301@gmail.com>
In-Reply-To: <CAHcdu2pfojR-_=3nPNEh%2BOKiXmgPHotafGmwxEESGmZKq4c80w@mail.gmail.com>
References:  <4FB24A67.4050701@gmail.com> <CAGsORuDa7Hrs5-JA94cRz-h%2Bu5W1nkzOiroRbG3%2B6B_G8aUSfQ@mail.gmail.com> <4FB250FD.2060801@gmail.com> <CAGsORuDU3R%2BsLP3VZ7kHoaCUBxQqaYZuqx0dNPhGRtfiCMjHYA@mail.gmail.com> <4FB25F97.3080108@gmail.com> <CAGsORuB4E7yFgTOOP8J67ezLGksxXdEjjyCjOqShUbpVJpEo-A@mail.gmail.com> <4FB380DF.5010800@gmail.com> <CAGsORuAd5aixWksyPn%2BA5myuTon_UdnpEWM8xsU=B3=zMNnCSw@mail.gmail.com> <4FB38BC4.2030903@gmail.com> <CAGsORuDt9Sn0vdzPdM__jo1M0v0pmzOOSzuxpS_5DX07mrkinQ@mail.gmail.com> <CAHcdu2pfojR-_=3nPNEh%2BOKiXmgPHotafGmwxEESGmZKq4c80w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB45EC9.6090301>