On Wed, 18 Oct 2000, William Kendrick wrote:
> Now, to actually _answer_ your question, you'll want to edit your system's
> "inittab" file, usually stored in "/etc/". You can find it easily by
> running:
>
> locate inittab
inittab is _always_ located in /etc. that's too standardized to change.
> In that configuration file (open it with something like the "vi" editor
> while logged in as 'root'), there's a line that'll look like this:
>
> # The default runlevel.
> id:5:initdefault:
> You can then reboot to try it out... Or, to switch back and forth between
> runlevels (BE CAREFUL!), you can issue the command:
>
> # telinit 3
don't have to be careful here. you have to be careful when you edit
inittab. telinit is pretty intelligent. observe:
# telinit oops i screwed up
Usage: telinit 0123456SsQqAaBbCcUu
#
the worst that will happen is a reboot or (orderly) power off.
you're all forgetting that xdm can be brought up in a runlevel other than 5.
pete