-   Slackware (
-   -   Config files, X issue, startup scripts... please help! (

shashir 08-03-2005 12:48 AM

Config files, X issue, startup scripts... please help!
I installed Slackware and everything was going just right. I followed the "How I do it all" thread and updated my software using swaret. Then I did this to my init/startup scripts:
mv /etc/rc.d/ /etc/rc.d/rc.inet1.conf
mv /etc/rc.d/ /etc/rc.d/rc.wireless.conf
mv /etc/rc.d/ /etc/rc.d/rc.local
mv /etc/rc.d/ /etc/rc.d/rc.inet1
mv /etc/rc.d/ /etc/rc.d/rc.inet2
mv /etc/rc.d/ /etc/rc.d/rc.font
mv /etc/rc.d/ /etc/rc.d/rc.4
mv /etc/rc.d/ /etc/rc.d/rc.6
mv /etc/rc.d/ /etc/rc.d/rc.M
mv /etc/rc.d/ /etc/rc.d/rc.S
mv /etc/ /etc/profile
mv /etc/ /etc/shadow
mv /etc/ /etc/smartd.conf
mv /etc/ /etc/gshadow
mv /etc/ /etc/group
mv /etc/hotplug/ /etc/hotplug/blacklist
mv /etc/ /etc/passwd
mv /etc/ /etc/inittab

And efter that everytime I start my computer, instead of going into the really nice dropline gdm login screen, I end up with the xdm login screen (it even says it is starting gdm in the console... but ends up in xdm). This and other really silly issues ruined by slackware installation.

Please tell me how to solve this. If not, at least allow me to download these files from you.

Thank you,

shilo 08-03-2005 01:31 AM

The problem is this:

mv /etc/rc.d/ /etc/rc.d/rc.4
There is a modified /etc/rc.d/rc.4 for dropline. Here it is:


#! /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, <>
# At least 47% rewritten by:  Patrick J. Volkerding <>

# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."

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

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

# 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

# error
echo "Hey, you don't have KDM, GDM, or XDM.  Can't use runlevel 4 without"
echo "one of those installed."
sleep 30

# All done.

You can use the whole thing, or you can just edit the three relevant lines.

shashir 08-03-2005 01:46 AM

Everything works correctly now... thanks!

vls 08-03-2005 08:13 PM

You might considered using the '-b' option with mv when writing over important files. This creates a backup of the file being overwritten.

zborgerd 08-05-2005 05:12 PM

Yeah. Unfortunately, the GDM maintainers moved the binary on us. Our GDM packager sent a report Pat's way, since he's not working with the GNOME stuff anymore. We were a bit concerned that Pat was likely going to remove the GDM stuff from the startup scripts anyway (since he's no longer shipping GNOME or GDM), so we decided that we'd probably have to added the entry on our own. There will be no GDM in Slackware 10.2, so it's just a matter of time before it breaks on all of the third-party GNOME/Slackware desktops (if he makes the change to the script). That modification was there to help plan ahead for this. :)

All times are GMT -5. The time now is 06:43 PM.