LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-21-2004, 07:46 PM   #1
May1950
LQ Newbie
 
Registered: Jan 2004
Location: Canada
Distribution: Ubuntu, Slack 10.1
Posts: 18

Rep: Reputation: 0
Wink Slack 10 - displaymanager


I've just installed Slackware 10. My PC boots into the login screen rather into the display manager screen. I have to type in "root", followed by my password and then "kdm". I would like my PC to boot right into kdm or gdm. I have tried running xwmconfig but it does work. How do get my PC to boot into the kdm or gdm display manager?

Thanks.
 
Old 07-21-2004, 08:06 PM   #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: 50
open /etc/inittab . Change this:

Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
To this:

Code:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
Done deal.
 
Old 07-21-2004, 08:32 PM   #3
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
To start kdm automatically make your /etc/rc.d/rc.4 file look like mine below

justin@lola:~$ cat /etc/rc.d/rc.4
#! /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/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.


Open it in your favorite text editor and comment out the gdm line. Save and reboot. Bam, KDM.

Out.
 
Old 07-21-2004, 09:10 PM   #4
May1950
LQ Newbie
 
Registered: Jan 2004
Location: Canada
Distribution: Ubuntu, Slack 10.1
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks justin_p and shilo! It worked.
 
  


Reply



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
Frozen-Bubble(from slack 8.2) Not Running in slack 9 bongski55 Slackware 8 01-02-2006 04:10 PM
Slack 10.1 will a Slack 10 Wine pkg work? acummings Slackware 1 03-25-2005 04:55 AM
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 11:53 AM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 03:03 PM
Anybody know how to use slack-required when creating slack pakages? linuxlah Slackware 1 02-10-2004 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration