LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2005, 11:48 PM   #1
shashir
Member
 
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/rc.inet1.conf.new /etc/rc.d/rc.inet1.conf
mv /etc/rc.d/rc.wireless.conf.new /etc/rc.d/rc.wireless.conf
mv /etc/rc.d/rc.local.new /etc/rc.d/rc.local
mv /etc/rc.d/rc.inet1.new /etc/rc.d/rc.inet1
mv /etc/rc.d/rc.inet2.new /etc/rc.d/rc.inet2
mv /etc/rc.d/rc.font.new /etc/rc.d/rc.font
mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4
mv /etc/rc.d/rc.6.new /etc/rc.d/rc.6
mv /etc/rc.d/rc.M.new /etc/rc.d/rc.M
mv /etc/rc.d/rc.S.new /etc/rc.d/rc.S
mv /etc/profile.new /etc/profile
mv /etc/shadow.new /etc/shadow
mv /etc/smartd.conf.new /etc/smartd.conf
mv /etc/gshadow.new /etc/gshadow
mv /etc/group.new /etc/group
mv /etc/hotplug/blacklist.new /etc/hotplug/blacklist
mv /etc/passwd.new /etc/passwd
mv /etc/inittab.new /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,
Shashir
 
Old 08-03-2005, 12:31 AM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
The problem is this:
Code:
mv /etc/rc.d/rc.4.new /etc/rc.d/rc.4
There is a modified /etc/rc.d/rc.4 for dropline. Here it is:

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>
#

# 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
fi
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

# error
echo
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
shashir
Member
 
Registered: Jul 2004
Posts: 70

Original Poster
Rep: Reputation: 15
Everything works correctly now... thanks!
 
Old 08-03-2005, 07:13 PM   #4
vls
Member
 
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
zborgerd
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 01:33 AM.

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