Gentoo Archives: gentoo-catalyst

From: Chris Gianelloni <wolf31o2@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Re: livecd-stage1 pkgconfig
Date: Tue, 12 Jul 2005 14:13:27
Message-Id: 1121177579.11002.13.camel@cgianelloni.nuvox.net
In Reply to: [gentoo-catalyst] Re: livecd-stage1 pkgconfig by Christophe PEREZ
1 On Mon, 2005-07-11 at 23:46 -0400, Christophe PEREZ wrote:
2 > Le Fri, 08 Jul 2005 15:18:36 -0400, Chris Gianelloni a écrit :
3 >
4 > > Well, the root user is automatically logged in, and when his .bashrc is
5 > > executed, it will run startx, or in your case, it will run su - chris -c
6 > > startx to start X as user chris.
7 >
8 > Well, there is just a problem with that.
9 > That's not one time root is logged, but 6 times :
10 > # End of /etc/inittab
11 > c1:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty1 linux
12 > c2:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty2 linux
13 > c3:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty3 linux
14 > c4:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty4 linux
15 > c5:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty5 linux
16 > c6:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty6 linux
17 >
18 > So, .bashrc is read 6 times, and try to execute X 6 times.
19 > That's why I had a black screen at boot.
20
21 Well, in all of my testing, since the first time .bashrc is read, it
22 deletes /etc/startx, I didn't have any issues. Perhaps my sessions are
23 starting slower than yours?
24
25 > For the moment, I'll just comment c[2-6] by fsscript, but if there are a
26 > more pretty solution...
27 >
28 > PS : Saw the ChangeLog, Chris ;-)
29
30 --
31 Chris Gianelloni
32 Release Engineering - Strategic Lead/QA Manager
33 Games - Developer
34 Gentoo Linux

Attachments

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

Replies

Subject Author
[gentoo-catalyst] Re: Re: livecd-stage1 pkgconfig Christophe PEREZ <christophe.perez@×××××××.com>