From owner-freebsd-questions@freebsd.org Thu Jan 19 22:15:20 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 C64D2CB8C8C for ; Thu, 19 Jan 2017 22:15:20 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C5B11835 for ; Thu, 19 Jan 2017 22:15:20 +0000 (UTC) (envelope-from markus.hoenicka@mhoenicka.de) Received: from [80.67.16.131] (helo=webmail.df.eu) by smtprelay06.ispgateway.de with esmtpa (Exim 4.84) (envelope-from ) id 1cUKzF-00042X-A6 for freebsd-questions@freebsd.org; Thu, 19 Jan 2017 23:15:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 Jan 2017 23:15:17 +0100 From: Markus Hoenicka To: freebsd-questions@freebsd.org Subject: Re: Second attempt at FreeBSD-11.0-RELEASE-i386, Xorg, and Xfce graphical desktop In-Reply-To: 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> Message-ID: <955ae51c90249264567d01d77b656093@mhoenicka.de> X-Sender: markus.hoenicka@mhoenicka.de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== 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 22:15:20 -0000 At 2017-01-19 15:53, Warren Block was heard to say: > 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. Turns out to be a case of not RTFM. I do not use a display manager. Instead, I run startxfce4 from the console after logging in. The XFCE docs say to use startxfce4 --with-ck-launch in this case: http://docs.xfce.org/xfce/xfce4-session/advanced Things may work out of the box if you use a display manager. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38