Gentoo Archives: gentoo-catalyst

From: "W. Trevor King" <wking@×××××××.us>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: [PATCH] livecd-bashrc: Avoid a startx race by restricting to tty1
Date: Sat, 09 Mar 2013 11:47:07
Message-Id: 20130309114646.GA26574@odin.tremily.us
In Reply to: Re: [gentoo-catalyst] [PATCH] livecd-bashrc: Avoid a startx race by restricting to tty1 by Matt Turner
1 On Fri, Mar 08, 2013 at 06:49:42PM -0800, Matt Turner wrote:
2 > > - if [ -e /etc/startx ]
3 > > + if [ -e /etc/startx ] && [ "$(tty)" == /dev/tty1 ]
4 >
5 > Seems reasonable, but I don't really know how any of this works. Have
6 > you experienced the problem you describe? I.e., multiple X servers
7 > starting.
8
9 I had one X server starting, but also crashed X servers (do to
10 .Xauthority conflicts or something, I didn't write down the message)
11 in other ttys. Also, if another tty starts the X server, it's not
12 clear to me that the user will actually end up in X. The user may end
13 up on tty1 and have to Alt-F7 into X, which is not intuitive ;).
14
15 --
16 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
17 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachments

File name MIME type
signature.asc application/pgp-signature