On Mon, 2005-07-11 at 23:46 -0400, Christophe PEREZ wrote: > Le Fri, 08 Jul 2005 15:18:36 -0400, Chris Gianelloni a écrit : > > > Well, the root user is automatically logged in, and when his .bashrc is > > executed, it will run startx, or in your case, it will run su - chris -c > > startx to start X as user chris. > > Well, there is just a problem with that. > That's not one time root is logged, but 6 times : > # End of /etc/inittab > c1:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty1 linux > c2:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty2 linux > c3:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty3 linux > c4:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty4 linux > c5:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty5 linux > c6:12345:respawn:/sbin/agetty -nl /bin/bashlogin 38400 tty6 linux > > So, .bashrc is read 6 times, and try to execute X 6 times. > That's why I had a black screen at boot. Well, in all of my testing, since the first time .bashrc is read, it deletes /etc/startx, I didn't have any issues. Perhaps my sessions are starting slower than yours? > For the moment, I'll just comment c[2-6] by fsscript, but if there are a > more pretty solution... > > PS : Saw the ChangeLog, Chris ;-) -- Chris Gianelloni Release Engineering - Strategic Lead/QA Manager Games - Developer Gentoo Linux