From owner-freebsd-questions@freebsd.org Thu Jan 19 14:53:12 2017 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 9E75CCB85AE; Thu, 19 Jan 2017 14:53:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C4F215F9; Thu, 19 Jan 2017 14:53:12 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v0JEr4cJ003748 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Jan 2017 07:53:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v0JEr44P003745; Thu, 19 Jan 2017 07:53:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 19 Jan 2017 07:53:04 -0700 (MST) From: Warren Block To: Markus Hoenicka cc: Sergei Akhmatdinov , freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: Second attempt at FreeBSD-11.0-RELEASE-i386, Xorg, and Xfce graphical desktop In-Reply-To: <2d4edb680db8c48f2be352b074f2b968@mhoenicka.de> Message-ID: References: <18a5de5c-bc3a-c2e8-32c1-ea0a12d446ac@holgerdanske.com> <20170116230336.2cc22d94@riseup.net> <45c5ea44-e0b4-2698-da8e-707c507eb086@holgerdanske.com> <20170118031855.48fbbe2c@riseup.net> <2d4edb680db8c48f2be352b074f2b968@mhoenicka.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.1 (wonkity.com [127.0.0.1]); Thu, 19 Jan 2017 07:53:05 -0700 (MST) 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: Thu, 19 Jan 2017 14:53:12 -0000 On Thu, 19 Jan 2017, Markus Hoenicka wrote: > At 2017-01-19 06:15, Warren Block was heard to say: >> On Wed, 18 Jan 2017, Sergei Akhmatdinov wrote: >> >>> Not sure why XFCE needs so much work over what is essentially a `shutdown >>> (-r|-p) now` wrapper. >> >> I just add those entries to the polkit file and it works. If there is >> something else that needs to be done, I did it a long time ago, but >> I'm pretty sure I have set up machines from scratch with the same >> configuration. >> _______________________________________________ > > I just reinstalled a laptop with 11-RELEASE and ran into the very same > problem that you seem to *not* have. I have enabled just about everything > (polkitd|hald|dbus|whatnot) in rc.conf, I've granted my user account the > rights to do everything in the polkit config file, and still cannot shut down > or restart the box using XFCE's logout dialog. sudo /sbin/poweroff runs > flawlessly though, so it is not really an issue. It is just a wart on an > otherwise smooth setup. I have not tried to build XFCE from the ports tree > though. Will try as soon as I get round to it. That's an interesting idea. Maybe the hal requirement when using packages interferes with the shutdown. It would be nice to solve this, then we can add it to the pkg-message.