From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CE7E9198003 for ; Sat, 9 Mar 2013 11:47:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 543C1E05D7; Sat, 9 Mar 2013 11:47:07 +0000 (UTC) Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) by pigeon.gentoo.org (Postfix) with ESMTP id CF7F4E05D7 for ; Sat, 9 Mar 2013 11:47:06 +0000 (UTC) Received: from odin.tremily.us ([unknown] [72.68.87.226]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MJE0064861ZD390@vms173021.mailsrvcs.net> for gentoo-catalyst@lists.gentoo.org; Sat, 09 Mar 2013 05:46:48 -0600 (CST) Received: by odin.tremily.us (Postfix, from userid 1000) id C2EC79091BA; Sat, 09 Mar 2013 06:46:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1362829606; bh=bFxWO2VW4QKKOY+yHN3zoybvP+/Rywg162zkITEFncI=; h=Date:From:To:Subject:References:In-Reply-To; b=UoBl28IiC+9JviSayRWfzLRYigKnSsMZJZWiRNWemubuDKyqZXBTc1dRuH43a/6xd I5WK9zF5r0rdaiZBIuS2HKIfvgIahSkNjWUVuKzdTcrTf6tdoM2N5JFUMRQJqiidA7 AVLJ+OZzTChAlvsJEspWiB/LNPPASKehYSKg43aI= Date: Sat, 09 Mar 2013 06:46:46 -0500 From: "W. Trevor King" To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] Re: [PATCH] livecd-bashrc: Avoid a startx race by restricting to tty1 Message-id: <20130309114646.GA26574@odin.tremily.us> References: <48b5405f720c6aa9e9472be0fc3a66e7ef336d3e.1362329514.git.wking@tremily.us> <6d3c93bde552943c26acbf6c1946dae23821860c.1362366795.git.wking@tremily.us> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=SUOF0GtieIMvvwua Content-disposition: inline In-reply-to: OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; url=http://tremily.us/pubkey.txt User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: b2b3741b-0e91-4e09-8eac-6975378f9ede X-Archives-Hash: fd7332a55a2dd0cbe2a4ce0b5217524b --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 08, 2013 at 06:49:42PM -0800, Matt Turner wrote: > > - if [ -e /etc/startx ] > > + if [ -e /etc/startx ] && [ "$(tty)" =3D=3D /dev/tty1 ] >=20 > Seems reasonable, but I don't really know how any of this works. Have > you experienced the problem you describe? I.e., multiple X servers > starting. I had one X server starting, but also crashed X servers (do to =2EXauthority conflicts or something, I didn't write down the message) in other ttys. Also, if another tty starts the X server, it's not clear to me that the user will actually end up in X. The user may end up on tty1 and have to Alt-F7 into X, which is not intuitive ;). --=20 This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJROyElAAoJEEUbTsx0l5OMEHAP/29xQx1n/5TfTXnVAwZJm7ez /l5XSKtifh3U37OfaphRSY2fY9+vsZRVPDYfnepGpSEMaAbdRJzCvdfLGqenzAAI wfEkaQ5srQ+ipplayOmtJofplzst6p5Z9EDQ6M2WRMFY422FuookCu0ugKnZjz7a sBsl/jrSaHFrRj+TsLEY0BBWjk0XNPQ9a5iOVoVgN1mxfnDAPngBPZcLph2/tLUv kHC9YSBGn9hD2Hu/g2gYrxy01EF85PnorFpnUQjFSQefyVkoSIrjTAwjNAjuU5X9 TE3H3JCo6jwW/xHqqTVyO01tUN3iW2cL/qVxgM5u4+kf+jzzCuCVF55XvayCza50 v1wm8RfBMlwedCgZEKa8/qpuBhxVOD9dOlbQsyl1CQtml0LTJBtppW4GIAbf/QJp jS7hkbGPHX0fBPD+IeAfQhp2wx4F3Bduc0rY2Tzne5gALM+9qWJ4Y1H1LWRkxpt5 pRqaAr/wy2Y4Ue6fM/LfmG7lkTrPFQ+PgAcKMZzQ9oY03xMlvdhZBtuNDm5ugBtC 8foBXFvTosO9yVQtXFr5DH3LHxTgdbDIoWIv8LROPIPXQGBv30mPzm4Tayrghb7J 8+mrLUUAVTLnHKA9hPcPTt8TLbALNX40ZtyW9hdBHItwSLGAV+OKe2tZl5MlgTU3 KBDgfIq5Ih1tjsmM2LRC =IurG -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--