Click to See Complete Forum and Search --> : Slackware - auto startx


Sl4ker
09-30-2005, 02:56 PM
How do i get the KDE interface to start automatically rather than logging in and using the command 'startx' at boot?

Thanks in advance.

Calipso
09-30-2005, 03:03 PM
open up /etc/inittab in a text editor.
Scroll down to this line:
id:3:initdefault:

now change the 3 into 5 so it looks like this:
id:5:initdefault:

restart and you should be good to go

dkeav
09-30-2005, 03:21 PM
that is taking for granted that you have a display manager installed, such as KDM for the kde environment, you might have to install that first

quip
09-30-2005, 04:36 PM
Calipso: Slackware uses 4 as the graphical runlevel, not 5 like the others. Other than that, the advice will work.

Dkeav: On all of my default installs, gdm, kdm, and xdm get installed. Slack's rc.4 script checks for each, and runs the first one it finds, in the order I specified.

Calipso
09-30-2005, 05:39 PM
Slackware uses 4 as the graphical runlevel

ooops pardon my ignorance. Ive never used a slackware based distro yet. Plan on trying Vector soon though.

quip
09-30-2005, 05:53 PM
No problem....I think if you search through the forums here, I made the same mistake a while back. :D

Vector's nice, btw. I used it on a ftp server once...

Sl4ker
10-03-2005, 12:35 PM
That worked! Thanks for the help!

psych-major
10-03-2005, 05:09 PM
On a related note, if KDE gets hung up, you can restart it by pressing CTL+ALT+BACKSPACE, or you can also get a text console by pressing CTL+ALT+F2. Then ALT+F7 to get back to KDE.