Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2011 18:39:28 +0100
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        timp <timp87@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: xfce 4.8 upgrade errors
Message-ID:  <AANLkTikfSfy%2B30cSh7=Muo1h7-MGx1=x0G24rXSDLifo@mail.gmail.com>
In-Reply-To: <1300368202232-3878277.post@n5.nabble.com>
References:  <op.vrxwbjva34t2sn@skeletor.feld.me> <1300368202240-3863483.post@n5.nabble.com> <AANLkTinv3=MfbWBgduDe1p3yBWZu21RprhQ_Gfe0SOE6@mail.gmail.com> <AANLkTin9pAbSa7Wg_=B4Ux_tq%2BaXzP4fE3htR6c24ZUQ@mail.gmail.com> <AANLkTimhK5Lu3ke%2BkCq0xOt8wKgi7y-tY67pSECR3BTW@mail.gmail.com> <1300368202232-3878277.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
- First, check if sysutils/polkit and sysutils/consolekit installed.

- In console run this command: pkaction (with your own user, you
should get something like that):
% pkaction
org.freedesktop.consolekit.system.restart
org.freedesktop.consolekit.system.restart-multiple-users
org.freedesktop.consolekit.system.stop
org.freedesktop.consolekit.system.stop-multiple-users
org.freedesktop.policykit.exec
org.freedesktop.policykit.lockdown
org.freedesktop.upower.hibernate
org.freedesktop.upower.qos.cancel-request
org.freedesktop.upower.qos.request-latency
org.freedesktop.upower.qos.request-latency-persistent
org.freedesktop.upower.qos.set-minimum-latency
org.freedesktop.upower.suspend
org.gnome.gconf.defaults.set-mandatory
org.gnome.gconf.defaults.set-system

Then, in root create file called (for exemple)
'org.freedesktop.consolekit.pkla' in
/usr/local/etc/polkit-1/localauthority/50-local.d/ directory:

% cat /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla
[Restart]
Identity=unix-group:users
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Shutdown]
Identity=unix-group:users
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=yes
ResultActive=yes

You should replace 'users' by your main group (mine called users), or
by Identity=unix-user: your_user

Links:
http://hal.freedesktop.org/docs/polkit/
https://wiki.archlinux.org/index.php/Xfce#Reboot.2FShutdown

2011/3/17 timp <timp87@gmail.com>:
> Oliver, can you provide information or give link about correct polkit
> configuring?
>
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/xfce-4-8-upgrade-errors-tp3863482p3878277.html
> Sent from the freebsd-ports mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikfSfy%2B30cSh7=Muo1h7-MGx1=x0G24rXSDLifo>