From owner-freebsd-questions@FreeBSD.ORG Wed Jan 22 17:07:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E12C9251 for ; Wed, 22 Jan 2014 17:07:35 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 761FC1D8D for ; Wed, 22 Jan 2014 17:07:35 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hi8so838757wib.8 for ; Wed, 22 Jan 2014 09:07:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=xO/g4aeTJcjKxcplUeUxLgRwt4PxeHB/lEtJxd5nhhw=; b=jS569ziQjnH3I/2kAHOsmgCky5kiHPP2DCXzK+KaFT1alCKv2QkhpFsQ+1bIdhztxh 8bbDQIdAmxf2h3iSZFiQBMuETHY2psSNHfnjLjSV3vDWKJQ5rNHa+UQQDfVGbD1p53q0 GYKJoPcK4A9465dslkna4QSuKgmZ/AF5kUbUdmDqMyuCmbCTk9Z5nuYlElY9cft9TXAh wqASrvtdx+JueMhd+Xq2r3DeOm9X9nU3VzDSOIJVy0Psto2xF0QQt0r8MQWBI1UMW9mF r0mr9jGq3GVNhd03xShDacjZl95LfKPPxkwsDNUGuEu72AkSE1CA9kWClL0I72stFuE4 wQHg== X-Received: by 10.180.38.11 with SMTP id c11mr20629146wik.60.1390410453893; Wed, 22 Jan 2014 09:07:33 -0800 (PST) Received: from kontrol.kode5.net (kontrol.kode5.net. [80.229.5.32]) by mx.google.com with ESMTPSA id ff9sm20462448wib.11.2014.01.22.09.07.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 09:07:33 -0800 (PST) Message-ID: <52DFFAD3.4060404@gmail.com> Date: Wed, 22 Jan 2014 17:07:31 +0000 From: James Griffin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: xfce4.10, GUI Reboot/Suspend References: <52DFBD8F.9070005@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 17:07:36 -0000 On 22/01/2014 15:51, Warren Block wrote: > On Wed, 22 Jan 2014, James Griffin wrote: > >> Hi >> >> I've read a number of older posts found on the internet about using >> the xfce4 menus to reboot and shutdown the system. Amounts to using >> options in xinitrc and a '.pkla' file in >> /usr/local/etc/polkit-1/localauthority. > > I don't know of any required changes to xinitrc or .xinitrc. Create > the file org.freedesktop.consolekit.pkla in > /usr/local/etc/polkit-1/localauthority/50-local.d/ with these contents: > > [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 > > To enable the logout dialog, right-click logout icon on panel, > Properties, First Button: Log Out Dialog. Thanks, it's working now. Another issue, the last 2 emails i've sent to this mailing list i've had replies from spam address with photos attached of women with their tits out - what is going on? is anyone else getting this?