Okay, so first of all, in the default X configuration, the gdm user
should be added to the video group so that Gnome doesn't fallback, and
also to the audio group so that sound works properly. This can be done
when creating the user (there are other methods, but they are not in the
book and I've left them out intentionally).
The other issue is the gdm bootscript lives on. I've always disliked
using a bootscript for gdm. We use wait lines in inittab, so the TTYs
are never brought up because rc never finishes. Of course, it could be
argued that they never should be brought up, but that leaves one without
a failsafe should gdm get broken or get stuck in a loop (for which it
will gracefully kill itself eventually IIRC). I would much rather drop
the bootscript and start directly from inittab. Setting initdefault to 5
and adding a seventh line "7:5:respawn:/usr/sbin/gdm -nodaemon" line is
sufficient (and as an aside, it should get rid of the 7th tty patch). In
the event of gdm fouling up, Ctrl+Alt+F{1..6} will still get you to a
shell login prompt where you can 'telinit 3' to gracefully ditch gdm
until fixed.
Comments?
# Begin /etc/inittab
id:5:initdefault:
si::sysinit:/etc/rc.d/init.d/rc S
l0:0:wait:/etc/rc.d/init.d/rc 0
l1:S1:wait:/etc/rc.d/init.d/rc 1
l2:2:wait:/etc/rc.d/init.d/rc 2
l3:3:wait:/etc/rc.d/init.d/rc 3
l4:4:wait:/etc/rc.d/init.d/rc 4
l5:5:wait:/etc/rc.d/init.d/rc 5
l6:6:wait:/etc/rc.d/init.d/rc 6
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
su:S016:once:/sbin/sulogin
1:2345:respawn:/sbin/agetty --noclear tty1 9600
2:2345:respawn:/sbin/agetty tty2 9600
3:2345:respawn:/sbin/agetty tty3 9600
4:2345:respawn:/sbin/agetty tty4 9600
5:2345:respawn:/sbin/agetty tty5 9600
6:2345:respawn:/sbin/agetty tty6 9600
7:5:respawn:/usr/sbin/gdm -nodaemon
# End /etc/inittab
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page