SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I had Slim working with the latest -Current updates, but that was with a package I built before updating.
I borked my system yesterday and had to do a fresh install. Now I can't get Slim working.
I tried running the Slim SlackBuild from Slackbuilds.org, and it failed without giving any errors. I figured out that the problem was with this section:
I got Slim from SBOpkg as you did
it boinked at startup and I had to get sysvinit-scripts from SalixOS (thanks gapan)
which adds a place for slim before gdm,etc in /etc/rc.d/rc.4
heres my rc.4
Code:
#! /bin/sh
#
# rc.4 This file is executed by init(8) when the system is being
# initialized for run level 4 (XDM)
#
# Version: @(#)/etc/rc.d/rc.4 2.00 02/17/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by: Patrick J. Volkerding <volkerdi@slackware.com>
#
# Modified for Salix by: George Vlahavas <vlahavas~at~gmail~dot~com>
# Tell the viewers what's going to happen (in red)...
echo -e "\033[01;31mStarting up X11 session manager...\033[00m"
# Try slim first
if [ -x /usr/bin/slim ]; then
exec /usr/bin/slim
fi
# Then try gdm
if [ -x /usr/bin/gdm ]; then
exec /usr/bin/gdm -nodaemon
fi
# Someone thought that gdm looked prettier in /usr/sbin,
# so look there, too:
if [ -x /usr/sbin/gdm ]; then
exec /usr/sbin/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
elif [ -x /usr/bin/kdm ]; then
exec /usr/bin/kdm -nodaemon
fi
# If all you have is XDM, I guess it will have to do:
if [ -x /usr/bin/xdm ]; then
exec /usr/bin/xdm -nodaemon
elif [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
# error
echo
echo "Hey, you don't have GDM, slim, KDM or XDM installed. Can't use runlevel 4"
echo "without one of those installed."
sleep 30
# All done.
Well, first of all, SlackBuilds are only tested on the stable version of Slackware, like 13.0, not on the -current version.
If you run -current, you are supposed to be able to change source code, mess around with bash scripts, etc.
But, I have SLiM running on -current, after applying the following patch to the png.c file that is included in the source:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.