From owner-freebsd-ports@FreeBSD.ORG Thu Mar 17 17:39:39 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7F72106566C for ; Thu, 17 Mar 2011 17:39:39 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6889D8FC12 for ; Thu, 17 Mar 2011 17:39:39 +0000 (UTC) Received: by bwz12 with SMTP id 12so2978827bwz.13 for ; Thu, 17 Mar 2011 10:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=SJpGtFrBZ5dB8CxVvg778aVVzOGzykVi8Q9GT9nejs4=; b=gfevsnaEifNt7h1IRT/dWrhqrqqp4AeG7TypMsyWkeDUdcu+pzCsLRk4NQiz0ddeHi 4LY2PJQDiu6TdMqagDR4gCr5VZN6lCCZXsbbpu4HsGQZH8w9/Kcp4sKPsYnx4X1Jo63I q/7MbERqkPWxs9W1kWYUqLFoN173mafzr8ppc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jeSfILvZHgf7fVrfZSnWnPo1EMt/D4BHwUPtiSBFIAK2+qSvGA4OZtp7KPA4ZWgIPJ nzU3z086qHt9l/mLmye2UhJ9ZLQYkvQyT+JF6hAFqmMv02M7R2ouR8x0LEOC2mDgxbmY Kq999UfEqXyOEwQVa+L35xQQoT4yRHhZn1vBk= MIME-Version: 1.0 Received: by 10.204.81.203 with SMTP id y11mr26843bkk.124.1300383568849; Thu, 17 Mar 2011 10:39:28 -0700 (PDT) Received: by 10.204.68.74 with HTTP; Thu, 17 Mar 2011 10:39:28 -0700 (PDT) In-Reply-To: <1300368202232-3878277.post@n5.nabble.com> References: <1300368202240-3863483.post@n5.nabble.com> <1300368202232-3878277.post@n5.nabble.com> Date: Thu, 17 Mar 2011 18:39:28 +0100 Message-ID: From: Olivier Duchateau To: timp Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: xfce 4.8 upgrade errors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2011 17:39:40 -0000 - 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 : > 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