Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-02-2005, 11:48 PM   #1
Registered: Jul 2004
Posts: 70

Rep: Reputation: 15
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,
Old 08-03-2005, 12:31 AM   #2
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
Old 08-03-2005, 12:46 AM   #3
Registered: Jul 2004
Posts: 70

Original Poster
Rep: Reputation: 15
Everything works correctly now... thanks!
Old 08-03-2005, 07:13 PM   #4
Registered: Jan 2005
Location: The grassy knoll
Distribution: Slackware,Debian
Posts: 192

Rep: Reputation: 31
You might considered using the '-b' option with mv when writing over important files. This creates a backup of the file being overwritten.
Old 08-05-2005, 04:12 PM   #5
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gtk-config and glib-config scripts not found? Frustin Linux - General 17 12-26-2008 02:14 PM
IPTables: config files, scripts, saving etc...confused tarballed Linux - Security 4 12-30-2004 06:41 PM
startup files or scripts BajaNick Slackware 10 05-25-2004 01:12 AM
scripts to edit config files twistedpair Linux - General 1 01-16-2004 12:34 PM
RH7.3 startup files/scripts minor Linux - Distributions 2 10-16-2002 08:40 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration