Gentoo Archives: gentoo-catalyst

From: Douglas Freed <dwfreed@×××.edu>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH] Start the X server only once.
Date: Sun, 29 Sep 2013 05:03:39
Message-Id: CAFyXEpLJqD-eyrXmvavLcgOWc_YnZ+JtwaXyQ2RFZAH7QdDjNQ@mail.gmail.com
In Reply to: [gentoo-catalyst] [PATCH] Start the X server only once. by Matt Turner
1 On Wed, Sep 25, 2013 at 6:30 PM, Matt Turner <mattst88@g.o> wrote:
2 > From: Matt Turner <mattst88@×××××.com>
3 >
4 > Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=481236
5 > ---
6 > livecd/files/livecd-bashrc | 2 +-
7 > 1 file changed, 1 insertion(+), 1 deletion(-)
8 >
9 > diff --git a/livecd/files/livecd-bashrc b/livecd/files/livecd-bashrc
10 > index 983e657..9ea1fea 100644
11 > --- a/livecd/files/livecd-bashrc
12 > +++ b/livecd/files/livecd-bashrc
13 > @@ -4,7 +4,7 @@ if [ ! "$(grep nox /proc/cmdline)" ]
14 > then
15 > if [ -x /usr/bin/X ]
16 > then
17 > - if [ -e /etc/startx ]
18 > + if [ -e /etc/startx -a $(tty) = "/dev/tty7" ];
19 > then
20 > rm -f /etc/startx
21 > ##STARTX
22 > --
23 > 1.8.3.2
24
25 This doesn't work because the livecd inittab doesn't (afaict) start a
26 getty on tty7, only tty1-6. I would change this to tty1 to solve
27 that.
28
29 -Doug

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH] Start the X server only once. "W. Trevor King" <wking@×××××××.us>