Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2014 18:43:33 +0200
From:      Rolf Nielsen <rmg1970swe@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: exiting Xorg locks up 9.2-STABLE system
Message-ID:  <543EA435.10505@gmail.com>
In-Reply-To: <20141015162547.GJ3963@itcom245.staff.itd.umich.edu>
References:  <20141015162547.GJ3963@itcom245.staff.itd.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-10-15 18:25, William Bulley wrote:
> According to Polytropon <freebsd@edvax.de> 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-----



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