[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: booting to X
Travis wrote:
>When my machine boots it goes straight into X. how can
>I fix it so that when I boot up I can boot to the
>console and login to the console?
that depends on the distro, but as long as you have a fairly recent distro
then you should have under /etc/ a directory called rc.d or directories with
an rc a number and the .d "rc[0-6].d", if you have the rc.d directory and
don't see the directories with the numbers then go under the rc.d directory
and you should see the directories with numbers, these numbers represent
"run levels", always keep in mind that linux is essentially a multi-user os
and so the boot up process takes into account that maybee you want to switch
off to single user for maint. or vary run levels to do different tasks, now
my suse 6.4 box boots to runlevel 3 from install and it runs xdm (X display
manager or what causes the starting of X) by default, when i wanted to do
this i had to learn how the runlevel system worked (very valuable thing to
know), under the directories with numbers there are files that follow the
format of "S or K" then a number then the name of the task, so an example
would be "S21cron", now the name of the file is telling init what to do with
the file, with cron S=start process, 21=order of importance to start
process, and the name (AFAIK this is just descriptive), the K=kill the
process, anything that does not follow this format does not get used, so if
you look into your rc5.d directory and see a file called S30xdm then do a
"mv S30xdm s30xdm" the xdm process will not start, BTW all of these file in
the numbered directories are just symlinks, this information is good to know
when you are securing a system, go through and rename anything that you know
you don't use as a service but is required for dependencies, hope that
clears up your starting of x on boot, if not hit the list back with distro
and version, thanks
Bob T. Kat
In the beginning the universe was created.
This has made a lot of people very angry and been widely regarded
as a bad move.
---- Hitchhikers Guide to the Galaxy ---
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.