Chad Walstrom wrote:
> smac at visi.com wrote:
> > It's working but I'm having a bit of a time getting it to stop booting
> > to a graphical login (Yuck). I looked at /etc/inittab and set it to
> > run level 3 (I thought) but it still boots to graphical login.
> 
> That's because Debian does things a little differently than Fedora.  I
> partially agree with Red Hat's use of run-levels to determine when
> graphical displays are necessary.
> 
>     [10:41:52] chewie at skuld (516)$ cd etc;ls rc?.d/???gdm
>     rc0.d/K01gdm@  rc2.d/S99gdm@  rc4.d/S99gdm@  rc6.d/K01gdm@
>     rc1.d/K01gdm@  rc3.d/S99gdm@  rc5.d/S99gdm@
> 
> To that end, you need to move the /etc/rc2.d/S99gdm file
> /etc/rc2.d/K01gdm.  The same goes for run-level directories 3 and 4, if
> you want Debian to behave like Fedora (which starts in rl 5).  If you're
> using kdm or xdm, do the same.
 
Here's another way to accomplish the same (I'm assuming you're running
xdm as your X display manager):

root# cd /etc/init.d
root# update-rc.d -f xdm remove

This is sort of like /sbin/chkconfig from IRIX and/or Redhat.  If you
decide you want to have xdm start only in runlevel 5, you can add back
the start like like this:

root# cd /etc/init.d
root# update-rc.d xdm start 5 . stop 0 1 2 3 4 6 .

This will create a start symlink for runlevel 5 and stop symlinks for
runlevels 0-4 and 6.  NOTE the "." which ends the list of runlevels for
both start and stop.  man update-rc.d(8) for more info.
-- 
scot

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list