1 |
Le Fri, 08 Jul 2005 15:18:36 -0400, Chris Gianelloni a écrit : |
2 |
|
3 |
> Well, the root user is automatically logged in, and when his .bashrc is |
4 |
> executed, it will run startx, or in your case, it will run su - chris -c |
5 |
> startx to start X as user chris. |
6 |
|
7 |
Well, there is just a problem with that. |
8 |
That's not one time root is logged, but 6 times : |
9 |
# End of /etc/inittab |
10 |
c1:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty1 linux |
11 |
c2:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty2 linux |
12 |
c3:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty3 linux |
13 |
c4:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty4 linux |
14 |
c5:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty5 linux |
15 |
c6:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty6 linux |
16 |
|
17 |
So, .bashrc is read 6 times, and try to execute X 6 times. |
18 |
That's why I had a black screen at boot. |
19 |
For the moment, I'll just comment c[2-6] by fsscript, but if there are a |
20 |
more pretty solution... |
21 |
|
22 |
PS : Saw the ChangeLog, Chris ;-) |
23 |
|
24 |
-- |
25 |
Christophe PEREZ |
26 |
-- |
27 |
gentoo-catalyst@g.o mailing list |