Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 12:25:42 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Fwd: DSN: failed (Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 )
Message-ID:  <b84bd116-ebd0-bf87-4e6f-077f2235c1e1@holgerdanske.com>
In-Reply-To: <SjYPCxk5cq3zNyurY02@holgerdanske.com>
References:  <SjYPCxk5cq3zNyurY02@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 
<dpchrist@holgerdanske.com>; Sat, 31 Dec 2016 12:21:03 -0800
Message-Id: <SjYPCxk5cq3zNyurY02@holgerdanske.com>
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:<dpchrist@holgerdanske.com>

And they gave me the error;
   550 5.0.0 he.net spam rejected



[-- Attachment #2 --]
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 <wblock@wonkity.com>; 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 <wblock@wonkity.com>
References: <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com>
 <e0b1bd9a-dbe0-31cb-ee70-0cfe87da694b@bananmonarki.se>
 <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>
 <e4100f12-b37d-3e0b-2d5e-5cb65f5c49a5@bananmonarki.se>
 <20161230154841.7d2561e2.freebsd@edvax.de>
 <bca9e1b0-f298-e5da-d583-134ad0bd18b7@holgerdanske.com>
 <20161231163107.64b0582d.freebsd@edvax.de>
 <a0e0390a-55e2-9ad0-3e74-26f25ae5309f@holgerdanske.com>
 <alpine.BSF.2.20.1612311153040.94586@wonkity.com>
From: David Christensen <dpchrist@holgerdanske.com>
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: <alpine.BSF.2.20.1612311153040.94586@wonkity.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b84bd116-ebd0-bf87-4e6f-077f2235c1e1>