Slackware - the oldest and the best

Ideal if you are looking for stability, reliability and piece of mind


Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida enim ut risus. Praesent sapien purus, ultrices a, varius ac, suscipit ut, enim. Maecenas in lectus. Donec in sapien in nibh rutrum gravida. Sed ut mauris.

Get real - Let's get a splash screen login

New Slackware users are rather perplexed that when first rebooting their pristine Slackware installation they are stuck at the command prompt and not a desktop graphical splash screen complete with login form and a means of choosing the session type (desktop manager). This tutorial will show you how to enable your Slackware system to boot into your chosen window managers splash screen.

I would recommend that you do not complete this tutorial unless you have created a user and are able to startx. This tutorial assumes that you have.
A tutorial to add a user and check that X is able to start is forthcoming.

You shall see the term X session used in the tutorial. This refers to users who are carrying out this tutorial whilst running under their chosen window manager, usually KDE. Parts of the tutorial that are specific for those users are highlighted Yellow. Command prompts and specific edits to files are highlighted black.

The video below accompanies the tutorial. Although it does show directly the steps required running KDE, the same can be used to edit the specific file with out X running.

Let's get straight into the the desktop login: Enable desktop login after boot instead of the command prompt.

If you are already in an X session (have KDE running for example), open a terminal, KStart menu, Applications, System > Terminal.

The file we need to edit is /etc/inittab. As the file inittab exists in the root partition we need to be "root". The editor we are going to use is "pico" a text editor that runs in the terminal.

At the prompt type "su" then enter the password for root you decided on during the install. You should now be root in the terminal session.

Enter at the terminal...

 # pico /etc/inittab

You should now have the contents of inittab. The file is scrollable using the arrow keys and is open to edit.

Edit with extreme care!!!
For now all we are interested in is changing the default value of the runlevel so that when you reboot the system, and from then on you go straight to the graphical login.
The line we want to modify is


The listing just above that shows the run levels available. Take note of the warnings.

Scroll using the arrow keys down to the line requiring modification. Scroll to the second colon before initdefault. With the cursor flashing on the colon, hit the back button to remove the number three. Now enter the number four. The line now reads...


That it is all the modifications the file requires. We now need to save the file and exit the pico editor.

Enter Ctl and X [^X] now where you will be asked if you wish to save the file. Check again that it is correct!! If sure then enter Y at the keyboard. You will then be asked if you would like to save the file as /etc/inittab. Hit enter and you exit the editor and return to the command prompt in the terminal.

The proof is in the pudding. Let's see if it has been successful.

If you are running X (KDE or some other desktop manager), you are already root in the terminal. Close any other applications you may have running. You don not need to log out of KDE.

Just type "reboot" then hit enter and the system will initiate a reboot.

Once the system reboot's you should come in graphical at the KDE splash screen or the splash screen of your chosen window manager if did not choose KDE during the install. Enter your username and password to login. Every time you start Slackware from now on you should enter at your chosen window managers splash screen