From owner-freebsd-questions@freebsd.org Fri Jan 20 20:19:13 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 2A952CBAA10 for ; Fri, 20 Jan 2017 20:19:13 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C3DDE18E0 for ; Fri, 20 Jan 2017 20:19:12 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud3.xs4all.net with ESMTP id akHy1u00B2iF10301kHzM6; Fri, 20 Jan 2017 21:17:59 +0100 Received: from localhost (localhost [IPv6:0:0:0:0:0:0:0:1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id v0KKHvT0065740 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 20 Jan 2017 21:17:58 +0100 (CET) (envelope-from mbeis@xs4all.nl) Date: Fri, 20 Jan 2017 21:17:57 +0100 (CET) From: Marco Beishuizen X-X-Sender: marco@localhost Reply-To: Marco Beishuizen To: freebsd-questions@freebsd.org Subject: Shutdown from WindowMaker when using Xdm Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII 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: Fri, 20 Jan 2017 20:19:13 -0000 Hi, What is a good and clean way to shutdown the system from a windowmanager (in my case WindowMaker), and using xdm? I did add a menuitem containing "shutdown -p now", but then WM sometimes coredumps. So I get the impression that this method isn't the best way to do it. Just exiting the WM is possible, but then the system exits to the login screen, without the possibility of shutting down from there. So is there a clean way of shutting down from WM? Thanks and regards, Marco -- The Israelites were all waiting anxiously at the foot of the mountain, knowing that Moses had had a tough day negotiating with God over the Commandments. Finally a tired Moses came into sight. "I've got some good news and some bad news, folks," he said. "The good news is that I got Him down to ten. The bad news is that adultery's still in."