Advertisement

installed slackware, how to get kde to automatically start?

Started by July 06, 2004 07:40 PM
5 comments, last by George2 20 years, 2 months ago
ditto - I heard it has something to do with cron files, but isn't that a regularly scheduled thing, not a startup config?
I eat heart attacks
try xwmconfig at command line
-Yo, I couldn''t think of anything else for my sig.TobiasA+, Linux+
Advertisement
lemme see if I remember this correctly:
cd ~
vi .xinitrc
(move your cursor to the # in front of exec kde and hit the x key, then type :wq)

if .xinitrc is blank just go echo "exec kde">.xinitrc
Just set the default runlevel to 5 and make sure kdm is in that runlevel's init script.
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)
In Gentoo (not slackware, sorry), I went to /etc/rc.conf and set DISPLAYMANAGER="kdm" to get graphical login, and XSESSION="kde-3.2.1" to use kde as the default window manager.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
I'm with clum - set the runlevel to 4 (or 5, they are the same), and it will automatically start the kde display manager, which will make a graphical login prompt.

This can be configured to auto-login, probably through a kde control panel of some sort (as root)

Mark
Advertisement
In /etc/inittab change the line (first line which isn't a comment)

id:3:initdefault:

to

id:4:initdefault:

runlevel 4 is graphical in slackware, runlevel 5 is the same as runlevel 3

To get kdm as login manager (gdm is probably default)

Edit /etc/rc.d/rc.4 , which looks like this :

# Try to use GNOME's gdm session manager:
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi

# Not there? OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi

# If all you have is XDM, I guess it will have to do:
if [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi

...

Swap the the first two if's , or comment out the gdm if.
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon

This topic is closed to new replies.

Advertisement