Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2017 23:15:17 +0100
From:      Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Second attempt at FreeBSD-11.0-RELEASE-i386, Xorg, and Xfce graphical desktop
Message-ID:  <955ae51c90249264567d01d77b656093@mhoenicka.de>
In-Reply-To: <alpine.BSF.2.20.1701190750510.55707@wonkity.com>
References:  <18a5de5c-bc3a-c2e8-32c1-ea0a12d446ac@holgerdanske.com> <20170116230336.2cc22d94@riseup.net> <45c5ea44-e0b4-2698-da8e-707c507eb086@holgerdanske.com> <alpine.BSF.2.20.1701172256330.1046@wonkity.com> <20170118031855.48fbbe2c@riseup.net> <alpine.BSF.2.20.1701181757440.45317@wonkity.com> <2d4edb680db8c48f2be352b074f2b968@mhoenicka.de> <alpine.BSF.2.20.1701190750510.55707@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?955ae51c90249264567d01d77b656093>