Cool. Thanks.

gabriel said:
> On January 31, 2004 03:36 pm, Roy Kidder wrote:
>> Jerry McBride said:
>> I like the idea of 7 run levels (including 0 and 6). Having recently
>> "converted" from Redhat, I especially miss being able to change between
>> run level 3 (regular multi-user) and run level 5 (gdm/xdm) for system
>> maintenance and stuff. I often found it helpful to have the network
>> started, yet log into a standard terminal when patching, etc. I haven't
>> figured out how to do that in Gentoo yet.
>>
>> As far as managing what processes run at what run-level, I simply used
>> chkconfig, which Redhat stole from somewhere. It simply managed init
>> the
>> files in the rc.x directories, much like rc-update manages files int
>> Gentoo's 3 runlevels.
>
> this is actually pretty easy:
>
> 1. edit /etc/inittab and change this:
>
>   l3:3:wait:/sbin/rc default
>
> to this:
>
>   l3:3:wait:/sbin/rc console
>
>
> 2. copy all of your runlevels in default to a new one called "console"
> and
> remove "xdm" from the console runlevel.
>
>   # cp /etc/runlevels/default cp /etc/runlevels/console
>   # rc-update del xdm console
>
>
> 3. put a file called "console" with the following contents
> into /etc/X11/Sessions:
>
>   #!/bin/bash
>   init 3
>
>
> now, when you want to switch from console to gui, just run "init 5" and
> if you
> want to switch back to the console, logout and and choose "console" as
> your
> login choice.
>
> i think that's all you need.  have fun ;-)
>
> --
> too long have the workers of the world waited for some moses to lead them
> out
> of bondage.  i would not lead you out if i could; for if you could be led
> out, you could be led back again. i would have you make up your minds
> there
> is nothing that you cannot do for yourselves.
>       - eugene debs
>         founder of the american railway union
>
> --
> [EMAIL PROTECTED] mailing list
>


--
[EMAIL PROTECTED] mailing list

Reply via email to