From owner-freebsd-ports@freebsd.org Tue Aug 23 14:28:23 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DD06BC3360 for ; Tue, 23 Aug 2016 14:28:23 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11EDF135B for ; Tue, 23 Aug 2016 14:28:23 +0000 (UTC) (envelope-from duchateau.olivier@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id o80so198489693wme.1 for ; Tue, 23 Aug 2016 07:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cFqF0R9f/W9f/VaEXyioKbftqIEXdfpfmjLdZlWPqII=; b=Wszh1w7hWpK/Ucsh5Jw0a3evRblTFh2c1zLS2IYSGwbFXc9aT40jTNljVbFmtdCqld fIcvmm8sQSxjEdcxPYhxJ4Vi3poHdsTg6qk5a/RMLab1qC2yramOQZYZFoWbWjeZmDZ2 uzKStaSG+6bWVPGlVVlpfnLkbjMuOIB1uvBRs05QgDfQU2z5kUVnCN2AGNZ47T9MrA25 vIsG9+6bJG8NJcxtWiYWoEyMSlyivhkRPhxW+M+RK9m/MYf7wb89+NHSOZPHmGzEVFfm 3SKSofIxAd5k/sLptdBwGv3iuVlGhQTZEDNJfpRmauDgF1GfaewT9B7G8pEFEQOanhjR EUag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=cFqF0R9f/W9f/VaEXyioKbftqIEXdfpfmjLdZlWPqII=; b=fUr7erLfzPSA6PQsQyqYCX3PTBSfc4Hi7ofq/0xWgQ3zsmJEqtxkqNgqduxmH7svb9 NTVd0xZUcOPI4bGZMQSf1ZndKgRAFjDUMYCBaCrJvsl2iTJeGn+DUzuGVpTE+5FNB1Ex xVlFkxwM45EMFJnduDPBEJ0EJXsMfwejQ8/LnBKhmkTl3c96JxuuliuT+dEfgtg1R/oR /8ySMMqfQR1cL7QN9Tcq85xcQuMDL55gq43auJy4+T486kL4nHBWW6fTTbLC/Ca9vdes Cqhog8JZ6ApZgUaLcjuk7Dg0RpKpEtxjv3WyWZn3kqW7DOooFiNEKa7TriG3fvm9kLrr yqaA== X-Gm-Message-State: AEkoouuMTlemHBSIkTvphr5i855BJX0aGXFacxXOOVBKp0Y59BxAZeKd7VBzJlRwMibhqQ== X-Received: by 10.28.96.11 with SMTP id u11mr19345182wmb.5.1471962500990; Tue, 23 Aug 2016 07:28:20 -0700 (PDT) Received: from tuborg (AMarseille-655-1-741-50.w109-208.abo.wanadoo.fr. [109.208.194.50]) by smtp.gmail.com with ESMTPSA id c8sm4151243wjm.19.2016.08.23.07.28.19 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 23 Aug 2016 07:28:20 -0700 (PDT) Sender: Olivier Duchateau Date: Tue, 23 Aug 2016 16:24:45 +0000 From: Olivier Duchateau To: abi@abinet.ru Cc: freebsd-ports@freebsd.org Subject: Re: xfce - confusing rights to shutdown without polkit rules Message-Id: <20160823162445.ac3fa3ab4b4c72ecc7f0d46d@freebsd.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; i386-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 14:28:23 -0000 On Tue, 23 Aug 2016 16:44:32 +0300 abi@abinet.ru wrote: > > > Hello, > > I have something mysterious on my installation. I reinstalled, but I > still have the issue. > > xfce4-session states that I must write ck rules to get rights for reboot > and shutdown. However, I have all rights (reboot, shutdown, suspend > hibernate) without any rules at all. All I need is start session with > --with-ck-launch. My user has no additional predefined groups and after > reinstall I have xfce only. > > Maybe I decade :) ago, I remember that ck rules was mandatory. What I'm > missing ? I feel frustrated - it's the first time FreeBSD game me more > rights, not less =/ Hi, You need to write your own polkit rules, for shutdown, reboot, suspend and so on. See pkg info -D xfce4-session Stop to launch your session with option --with-ck-launch (usually it's wrong) x11-wm/xfce4-session provides xinitrc script, uses it! For more details, see this thread on the forum [1] and my Xfce's FAQ [2]. Regards, [1] https://forums.freebsd.org/threads/53490/ [2] https://people.freebsd.org/~olivierd/xfce-faq.html > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Olivier Duchateau