On Tue, 11 May 1999, Ciardo, Thomas wrote:
> Sorry to butt in. So if I then reset my initdefault to 5 I could get it
> to auto start in x11? Does Redhat offer a GUI login?
That's how it's supposed to work. Make sure your xsetup works first.
ciao,
der.hans
>
> -----Original Message-----
> From: Riley Williams [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 11, 1999 10:14 AM
> To: LuftHans
> Cc: Lynx {Glenn Jones}; Schlepptop
> Subject: Re: Login via serial port
>
>
> Hi there.
>
> Comments re RedHat's version of this...
>
> >> Could you explain this run level thing to me in more detail? i
> >> am quite a linux novice. thx
>
> > In /etc/inittab you'll have entries like:
>
> That's presumably the SUSE version...
>
> > # /sbin/init.d/rc takes care of runlevel handling
> > #
> > # runlevel 0 is halt
> > # runlevel S is single-user
> > # runlevel 1 is multi-user without network
> > # runlevel 2 is multi-user with network
> > # runlevel 3 is multi-user with network and xdm
> > # runlevel 6 is reboot
> > l0:0:wait:/sbin/init.d/rc 0
> > l1:1:wait:/sbin/init.d/rc 1
> > l2:2:wait:/sbin/init.d/rc 2
> > l3:3:wait:/sbin/init.d/rc 3
> > #l4:4:wait:/sbin/init.d/rc 4
> > #l5:5:wait:/sbin/init.d/rc 5
> > l6:6:wait:/sbin/init.d/rc 6
>
> Here's the RedHat version...
>
> Q> # Default runlevel. The runlevels used by RHS are:
> Q>
> Q> # 0 - halt (Do NOT set initdefault to this)
> Q> # 1 - Single user mode
> Q> # 2 - Multiuser, without NFS (The same as 3, if you do not
> Q> # have networking facilities)
> Q> # 3 - Full multiuser mode
> Q> # 4 - unused
> Q> # 5 - X11
> Q> # 6 - reboot (Do NOT set initdefault to this)
> Q>
> Q> id:3:initdefault:
> Q>
> Q> l0:0:wait:/etc/rc.d/rc 0
> Q> l1:1:wait:/etc/rc.d/rc 1
> Q> l2:2:wait:/etc/rc.d/rc 2
> Q> l3:3:wait:/etc/rc.d/rc 3
> Q> l4:4:wait:/etc/rc.d/rc 4
> Q> l5:5:wait:/etc/rc.d/rc 5
> Q> l6:6:wait:/etc/rc.d/rc 6
>
> Also, if you wish to add some extra runlevels for your own use, you
> can create levels 7, 8 and 9 quite easily. On RedHat, to create level
> 7, first do the following...
>
> Q> cd /etc/rc.d/rc3.d
> Q> mkdir ../rc7.d
> Q> tar cf - * | ( cd ../rc7.d ; tar xvf - )
>
> ...append the following line to /etc/inittab after the block above...
>
> Q> l7:7:wait:/etc/rc.d/rc 7
>
> ...then make use of your new runlevel.
>
> > I use suse. Debian, redhat, etc. might all work a little
> > different, though my LinuxPPC (based on redhat) is the same,
> > just with a different path to "rc".
>
> > Before those entries is where the default run level is set:
>
> > id:3:initdefault:
>
> > Your inittab should have a warning for you not to set default to
> > 6, which is reboot :).
>
> ALso don't set the default to 0, which is system halt.
>
> > Change the number in there to be whatever you want your default
> > runlevel to be. For instance, 4. For that the entry for runlevel
> > 4 would need to be un-"commented out" in my setup.
>
> It's included in RedHat by default...
>
> Best wishes from Riley.
>
> +----------------------------------------------------------------------+
> | There is something frustrating about the quality and speed of Linux |
> | development, ie., the quality is too high and the speed is too high, |
> | in other words, I can implement this XXXX feature, but I bet someone |
> | else has already done so and is just about to release their patch. |
> +----------------------------------------------------------------------+
> * ftp://ftp.MemAlpha.cx/pub/rhw/Linux
> * http://www.MemAlpha.cx/kernel.versions.html
>
# +++++++++++=================================+++++++++++ #
# [EMAIL PROTECTED] #
# http://home.pages.de/~lufthans/ #
# I've got a photographic memory, #
# but I'm lousy photographer. - der.hans #
# ===========+++++++++++++++++++++++++++++++++=========== #