Booting to a GUI with Slack
I am replying to a private message in a public forum, because the information is better of in here so other people might see it if they need it.
The message was:
Quote:
I noticed your slackware sig ans was wornding if you use slack ware and if you do which you probaly do, do you think you could help me with a little problem i hae been having. i installed slackware 10 and i was having a problem with my gui it would no load it would go straight to a text based interface which is cool and all but i would like to use the gui when i try to get it to work i get an error message so i remaide my xorg.conf file and it stil happens so i switched to slack 8.1 and i still have the same problem do you know of any thing that could be causing this r maby its just i am using a dell.
No, it's not because you're using a Dell. They're not that bad.
If you open up, as root, the file called /etc/inittab with the command vi /etc/inittab you will see somewhere a line like this:
Quote:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
Press the insert key twice. This will place the editor in edit/overwrite mode. Then navigate over to this line and replace the 3 with a 4. (Before I get any corrections, runlevel 4 is X windows on Slack and runlevel 5 on most other distros. Stupid I think.) Then press the ESC key to exit from edit mode back into command mode and press the : key, indicating to the editor that you are goinf to give it a command. Then enter "wq" (w/o the quotes) for (w)rite and (q)uit and your edited file will be saved.
When the system boots, the kernel will read this file and boot into runlevel 4, which is the fancy GUI, instead of runlevel 3, which is a text-only runlevel.
Hope that works.
<edit>
the command startx will start the gui as well as Relyt's method below, but you don't get a graphical login screen like you do when the default runlevel is graphical; but they could both be used to test the GUI.
</edit>
Re: Booting to a GUI with Slack
Quote:
Originally posted here by Striek
Before I get any corrections, runlevel 4 is X windows on Slack and runlevel 5 on most other distros. Stupid I think.
Actually, it makes more sense to me, and maybe to you if you consider the fact that runlevel 0, 1, 2, 3, and 5 are used by most distributions, and 4 is unused. Where is the sense in that?
At any rate, on my Slack box init 5 is actually what I call "quickboot", basically desktop GUI mode WITHOUT all my development services started (Apache, MySQL, Tomcat, Snort, Postgres, etc.) which shaves about a full minute off my boot time. I also have a lilo profile for this as well.