From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 08:27:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE124385 for ; Wed, 12 Dec 2012 08:27:34 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A95908FC08 for ; Wed, 12 Dec 2012 08:27:34 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so339681pbc.13 for ; Wed, 12 Dec 2012 00:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OcjcOPlmepwpdsW8j2pmLb0rStA+ptp7MdrNp8nLBbQ=; b=kJlqjbvd4FgsGwt2aAU103YWonQk2yfqkI8Mjxytr+vTvTkCXGtNReM4MU8YLyrufK w/IXDcOxECayyESX0fViwk86BX1IwKUE3MCkrzpRrkwPWI76whBkARnHsVrlttQh6hg/ tRMqT6MVkeEq9xmy5MerENMs4RjHuC+/GDaYVLLiYnG+stzusjzIHzAQ1ti1vbfs3ugT SfIx2FDDJpw58k8vi4deQmy1UvCUOB32mle0pXLA61JGXhje/HJ91tA1Gu33O5yuYBOn PwcDybmuIShtvJbZD+C2nKS58pdn69Qu1lr41pu/DXzEp0umcNOgFrZvj4koM/0uEUqN 7fGA== MIME-Version: 1.0 Received: by 10.68.237.135 with SMTP id vc7mr571415pbc.2.1355300854072; Wed, 12 Dec 2012 00:27:34 -0800 (PST) Received: by 10.66.80.36 with HTTP; Wed, 12 Dec 2012 00:27:34 -0800 (PST) In-Reply-To: References: <50C652B7.6070002@gmail.com> Date: Wed, 12 Dec 2012 09:27:34 +0100 Message-ID: Subject: Re: Can't set xfce4 logout dialog buttons From: David Demelier To: Warren Block Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 08:27:35 -0000 The weird thing is that my laptop has the buttons working, without running startxfce4 with option neither with PolicyKit.conf options but I will try what you said, thanks. 2012/12/12 Warren Block > On Mon, 10 Dec 2012, David Demelier wrote: > > I added a file for handling shutdown / reboot for Xfce4, the content is >> located in /usr/local/etc/polkit-1/**localauthority/50-local.d/51-** >> sys-mgmt.pkla. >> >> [Restart] >> Identity=unix-group:operator >> Action=org.freedesktop.**consolekit.system.restart >> ResultAny=yes >> ResultInactive=yes >> ResultActive=yes >> >> [Shutdown] >> Identity=unix-group:operator >> Action=org.freedesktop.**consolekit.system.stop >> ResultAny=yes >> ResultInactive=yes >> ResultActive=yes >> >> But clicking on the on the logout button, will open the xfce4 dialog and >> only shows "Logout" all others buttons are grey'ed. I have exactly the same >> setup on my laptop but with a [Suspend] added, and on my laptop the dialog >> show Logout and all buttons authorized. >> >> On my both machine my user is in the operator group, so I don't know >> where I missed something for this machine.. >> > > startxfce4 must be called with the --with-ck-launch option. Then it works. > -- Demelier David