X-Slack

How to get Slackware into graphical mode?

For most of us today’s linux users the GUI is crucial. With slackware you’ll learn how to use the CLI - and after a while you’ll not just love it, but will be addicted! Nevertheless there has to be a GUI. The first thing you’ll notice when booting Slackware is, that there’re no fancy splash screens. That’s probably cause X is not activated by default.So how do you get there?

After login in at the prompt, type ’startx’. That command, as you might have guessed, starts the X-Window-System. But we don’t want to do that everytime we check the mails or look up the adress of a pub, do we? So we have to play around but first I’ll introduce you to the term runlevel.

Basically runlevels define what processes should be running on your computer. The default runlevel in Slackware is runlevel 3 as defined in /etc/inittab. There you’ll find /very fast if you type hit : and than type /Default runlevel) the following two lines:

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

all you have to do is changing the second line to

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

For a short overview of the runlevel concept see Help2Go

Now Slackware will boot into runlevel 4 which is defined in /etc/rc.d/rc.4! Have a look at it! and at rc.6 as well (rc.0 should be the same as rc.6)! Everything after a ‘#’ isn’t executed but there’s a reason for those lines being there: to be read by new Linux users. Have a look in some other files in /etc as well. If you’re afraid of ruining anything: everytime you close a file in /etc (which is the directory where almost every configuration file goes) type q! which will force (!) vi to quit without any changes. If you don’t know what you’re doing, don’t hit ‘w!’! Read inetd.conf, ntp.conf and fstab

No Comments

No comments yet.

Comments RSS TrackBack Identifier URI

Leave a comment