[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to switch to text mode



Freddy Freeloader <fredddy@cableone.net> wrote:
Glenn Becker wrote:
>
>>> Yes, I'd say much more elegant! :^)
>>
>> I'd say - no.
>
> Okay! :^)
>
>> to remove:
>> #update-rc.d -f gdm remove
>>
>> to restore:
>> #update-rc.d gdm defaults
>
> I learned something, today, great! TMTOWTDI, I guess.
>
> G
>
> +-----------------------------------------------------+
> Glenn Becker - burningc@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> +-----------------------------------------------------+
>
I guess I do things a different way than everyone else. All I do on the
machines I have that have a gui installed, but I'd prefer them to not
boot to the gui, is just rename /etc/init.d/gdm to /etc/init.d/gdm.old.
Then the all the links at the different run levels don't see the gdm
startup script. Then if I was to fire up the gui all I do is type, as
root, gdm and hit enter.

Is it an elegant solution? No. Is it easy to change if I ever decide I
want to boot into the gui? Yes. All I do is rename /etc/init.d/gdm.old
to gdm and I'm good to go. 
You can also put 'exit 0' at the top of the script so that it doesn't execute. 

Reply to: