From owner-freebsd-questions@freebsd.org Wed Dec 28 21:01:27 2016 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 C606CC9501D for ; Wed, 28 Dec 2016 21:01:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay12.qsc.de (mailrelay12.qsc.de [212.99.163.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F21B1820 for ; Wed, 28 Dec 2016 21:01:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay12.qsc.de; Wed, 28 Dec 2016 22:03:54 +0100 Received: from r56.edvax.de (port-92-195-28-64.dynamic.qsc.de [92.195.28.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 4189A3CC3F; Wed, 28 Dec 2016 22:01:13 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id uBSL1D4g002437; Wed, 28 Dec 2016 22:01:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 28 Dec 2016 22:01:13 +0100 From: Polytropon To: Bernt Hansson Cc: David Christensen , freebsd-questions@freebsd.org Subject: Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 -- How to enable GUI shutdown and restart? Message-Id: <20161228220113.f6814427.freebsd@edvax.de> In-Reply-To: References: <20161228173956.d3bf3a9f.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay12.qsc.de with 066856BE727 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1971 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: Wed, 28 Dec 2016 21:01:27 -0000 On Wed, 28 Dec 2016 21:02:17 +0100, Bernt Hansson wrote: > On 2016-12-28 17:39, Polytropon wrote: > > On Wed, 28 Dec 2016 03:16:40 +0100, Bernt Hansson wrote: > >> On 2016-12-27 05:02, David Christensen wrote: > >>> How do I enable GUI Shutdown and Restart capabilities in both XDM and > >>> XFCE? > >> You need to write some policykit/consolekit rules, can't find them now, > >> and you ned HAL. > > Really? Isn't HAL obsoleted yet? As far as I know, it's not > > even part of the default packages anymore... but you're correct > > regarding the strange *kit XML rules. > It was a long time ago that i did this. Well HAL is in ports, so i guess > it's > not obsolete yet. I did try both versions, mine and yours and it worked > then. At least the Gnome FAQ lists it as a requirement (so it must be installed additionally, and enabled in rc.conf). But X does not require it, or have it built into the default package. I've been running desktop systems without HAL and DBus for years, without any problems. > Nowadays i don't care much about it since i don't have a laptop, Personally, I find it much more convenient to press the power button to have the system perform a proper shutdown, or assign a key combination for a typical shutdown command (for example. on my Sun keyboard: Ctrl+Alt+Moon). All this works without having to deal with XML files buried inside the /usr/local subtree. :-) > do have > an arduino You probably don't use it as a desktop computer, but you could use it to "press" the power buttin. :-) > and will get a 3d-printer tomorrow (2016-12-29) Use it to 3D-print yourself a HAL-9000. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...