From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 16:43:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87CCCD53 for ; Wed, 15 Oct 2014 16:43:37 +0000 (UTC) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0EABAF4A for ; Wed, 15 Oct 2014 16:43:36 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id s18so1437046lam.9 for ; Wed, 15 Oct 2014 09:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=/X0xnqb39nqu5oAVDPhMZK33Jj7dXs6i11mzhMW3kdg=; b=zJHTJNzIEPBo5zskwo1Ed3dTc8RlfFi0RLyrxumiVrocG6Y2CPd05fs8xNmUtAuMAo 0TlK4LiS4SeIr11fJ3CFZtONmRO84z6GnJry0MQrS1uDCwIXextBvTPdRoFZLGbDBhnv iUjX96ED1JZ1LFrpQl6iFown/1Ilu6K7CiPM1q8W1/IlosTaeDT3bg3WYiv4nYQc2FYv gtMCZoe8MyeFjLpjKUiEypWJq2auQpD+Sj3DWeePcGnYxFLNKSNAcALckFE7KIZ5Crf4 Y9dvwmREXRi7PY2qOrFjljRDW9DekVGGogr6rwzl9Mb56iFbr5ip/qS02hg2V/NvPckx akvw== X-Received: by 10.152.21.170 with SMTP id w10mr13715469lae.9.1413391414948; Wed, 15 Oct 2014 09:43:34 -0700 (PDT) Received: from lazlar.no-ip.biz (213-64-218-92-no126.business.telia.com. [213.64.218.92]) by mx.google.com with ESMTPSA id oh4sm6867668lbc.19.2014.10.15.09.43.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Oct 2014 09:43:34 -0700 (PDT) Message-ID: <543EA435.10505@gmail.com> Date: Wed, 15 Oct 2014 18:43:33 +0200 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: exiting Xorg locks up 9.2-STABLE system References: <20141015162547.GJ3963@itcom245.staff.itd.umich.edu> In-Reply-To: <20141015162547.GJ3963@itcom245.staff.itd.umich.edu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 16:43:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-10-15 18:25, William Bulley wrote: > According to Polytropon on Wed, 10/15/14 at > 12:18: >> >> The last line of your ~/.xinitrc file should be: >> >> exec /usr/local/bin/mwm >> >> This makes sure that the process "continues" as mwm, and when mwm >> exits, then X also exists. > > Thanks. The last line of my ~/.xinitrc file is: > > /usr/local/bin/mwm 2>&1 /dev/null > > and since I start Xorg thusly: > > /usr/local/bin/xinit -- /usr/local/bin/Xorg > > I had thought when I exit mwm(1) using the "f.quit_mwm" feature, > that then Xorg would exit. Is that not the case? Or am I missing > your point above? This configuration has been working for me for > about fifteen years. :-) > > Regards, > > web... > Without the "exec" Xorg forks and the new process runs mwm. Thus, when you exit mwm, the original Xorg process remains. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUPqQ1AAoJEPJMW41Co4JgvD4P/2uOgiBm2oNs8nnj8yvqZLPx SGLxdpHp4+lUsDNkFNVqNvP8/X3TowJmcBnbZ4ocnSV3hJFzSqvtjFfwQEt73hNw yQtu2qcNE8UFX70AST0hDfZWjQ45WdcE76TOvGAMGVjG2qGO+EirIZOOkxB4OYHV BhQRWko8PKiwvsCIHUscIDdpygwGjkHyQiyXFl9AIDJjoJNIqoechC8opvOzbCkZ 6Q/K3aNTfMdyRFjiVgtM+NLhSRYB4DT28A8cLwzRzUcNvYPDtkIgmKyL06hapwdU TI8I/LSC4A619q5IEUEodMqeSvbdQ6CdZl4la5QNY2g4J2b2tUoS8EDANvqf+4tJ piGeowBzNb42GE+rCrqQebqCIL97vWyFQmnDhD+mcjzDw0vzp61JVkYaXy23vYZq FJj97Xf2r0ga5yb8xuUew8Krrg4Vxx3TZ5ChT5S2ZXx1dJbV68uXCi9uWgfwpWEn lXGoRbHhokNDNmAE3Wv3PQbb87xBvUfkWmMSBTtwaYdVx/cWncKOCXTbceZnnys9 0WWzj2LeQCTgHSS/PAYCyYHy0bm6rME8DDRxIEhCKdcYflrPCg4itAIu3e2eXF5t k/G7ZC5ieeXIxzKmU85Dd4h7fAUkbYOBVC+V8skdxbhW+ZtwS1GqCHMiEg5JiZ5w 3BJC7bSIizftHsWAreek =zG+s -----END PGP SIGNATURE-----