From owner-freebsd-questions@freebsd.org Sat Dec 31 20:25:46 2016 Return-Path: Delivered-To: freebsd-questions@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 418C0C99069 for ; Sat, 31 Dec 2016 20:25:46 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "GeoTrust SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2174D174A for ; Sat, 31 Dec 2016 20:25:46 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 31 Dec 2016 12:25:42 -0800 Subject: Fwd: DSN: failed (Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 ) References: To: freebsd-questions@freebsd.org From: David Christensen X-Forwarded-Message-Id: Message-ID: Date: Sat, 31 Dec 2016 12:25:42 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------BA031E32C23C637C4F2CEE6F" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2016 20:25:46 -0000 This is a multi-part message in MIME format. --------------BA031E32C23C637C4F2CEE6F Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Warren Block and freebsd-questions: 1. My domain is hosted by he.net. 2. Not all mail from he.net is spam. David -------- Forwarded Message -------- Return-Path: <> X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on november.he.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FROM_NO_USER, T_TVD_MIME_NO_HEADERS autolearn=no version=3.3.2 Received: from november.he.net ([2001:470:0:19b::b869:801b]) by holgerdanske.com with ESMTPS (AES256-GCM-SHA384:TLSv1.2:Kx=RSA:Au=RSA:Enc=AESGCM(256):Mac=AEAD) for ; Sat, 31 Dec 2016 12:21:03 -0800 Message-Id: Date: Sat, 31 Dec 2016 12:21:02 -0800 To: dpchrist@holgerdanske.com From: Mailbot for holgerdanske.com <> In-Reply-To: <0414ff62-8d35-a1f4-37ef-fe1da0155f57@holgerdanske.com> Subject: DSN: failed (Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 ) MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="7u" This is a Delivery Status Notification (DSN). I was unable to deliver your message to wblock@wonkity.com. I said MAIL FROM: And they gave me the error; 550 5.0.0 he.net spam rejected --------------BA031E32C23C637C4F2CEE6F Content-Type: message/rfc822; name="ForwardedMessage.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ForwardedMessage.eml" Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 31 Dec 2016 12:20:52 -0800 Subject: Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 -- How to enable GUI shutdown and restart? To: Warren Block References: <2c0d9213-1adc-48b7-bdf6-a6b4a577d726@bananmonarki.se> <622bd615-48b9-031a-65d8-3c7daf663cb9@holgerdanske.com> <09d1385a-6356-b732-ddd4-ebd678c25419@bananmonarki.se> <507828f7-6621-15f8-f55d-0ad172857fc1@holgerdanske.com> <20161230154841.7d2561e2.freebsd@edvax.de> <20161231163107.64b0582d.freebsd@edvax.de> From: David Christensen Message-ID: <0414ff62-8d35-a1f4-37ef-fe1da0155f57@holgerdanske.com> Date: Sat, 31 Dec 2016 12:20:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 12/31/16 10:55, Warren Block wrote: > It is very difficult to follow a dozen separate questions inside a post. Which demonstrates that Xfce on FreeBSD is program, not programming systems product. > I think one of them was about shutdown/logout/restart. This is from my > xfce notes file. Note that hal is not required for xfce at all, and I > do not have it installed. > > shutdown/reboot/logout > as root, create > /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla > > > (this is needed) > [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 2016-12-31 11:48:30 toor@t7400 ~ # cat /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla [Restart] Identity=unix-group:dpchrist Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:dpchrist Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes My first attempt was with "Identity=unix-group:operator". > To enable logout dialog: > Right-click logout icon on panel, Properties, First Button: Log Out > Dialog If I add Shutdown and Restart action buttons to the Xfce panel, both are grayed out and inoperative. It's time for me to start researching another approach. David --------------BA031E32C23C637C4F2CEE6F--