• Advertisement
Sign in to follow this  

installed slackware, how to get kde to automatically start?

This topic is 4978 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ditto - I heard it has something to do with cron files, but isn't that a regularly scheduled thing, not a startup config?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Just set the default runlevel to 5 and make sure kdm is in that runlevel's init script.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement