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 05-30-2003, 03:26 AM   #1
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Boot question.


heya,
I have Slack 9, and when i boot.. it boots up and let me login, then it just stays there and doesnt load the X-Windows system.
When i enter X it just goes to a gray screen and stucks there.
Only when i type xdm it lets me in the kde menu..
How can i make it direct boot to KDE or lets say X
Thanks.
 
Old 05-30-2003, 03:33 AM   #2
Gnute
Member
 
Registered: Apr 2003
Location: Kuwait
Distribution: NetBSD x86; Slackware Linsux i686 (A billion kilometers away)
Posts: 101

Rep: Reputation: 15
well, you're not the only person having that problem, only when i type startx it loads...
 
Old 05-30-2003, 03:38 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
X should just start the Xserver with no software or
window manager. the command to start X is startx.
post what you want it to do, and we'll tell you how to do it.
 
Old 05-30-2003, 05:34 AM   #4
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Can i change LILO(My boot loader) to directly start the X11 ?
 
Old 05-30-2003, 06:02 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
that isn't where you would do it. if you want it to boot
up to the graphical login, like kdm, post what distribution
of linux you are using.
a cheap way to do it would be to add kdm to the last
line of /etc/rc.d/rc.local, assuming your distro has that file.
another way is changing your default runlevel to the one
that has kdm in it, or adding kdm to your current runlevel.
you can mess with the runlevels with ksysv from X, if you
have it installed. if you don't have kdm, you may have
gdm. i see you do have xdm.

sorry i missed you having slack9.
cat >> /etc/rc.d/rc.local
kdm
<control -d>

would be a quick fix.

Last edited by whansard; 05-30-2003 at 06:03 AM.
 
Old 05-30-2003, 06:02 AM   #6
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
If you want to have X at startup you have to change /etc/inittab

This is the default config:

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


You have to change it to look like this:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
 
Old 05-30-2003, 06:23 AM   #7
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Ivan
If you want to have X at startup you have to change /etc/inittab

This is the default config:

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


You have to change it to look like this:

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
Yes, but that loads Gnome.. ?
 
Old 05-30-2003, 06:39 AM   #8
Ivan
Member
 
Registered: May 2003
Location: Romania
Distribution: Slackware 9.0
Posts: 32

Rep: Reputation: 15
I think yes, if you have


# Start the window manager:
gnome


in /etc/X11/xinit/xinitrc


If I'm wrong, somebody please correct then shoot me.


[later edit]
maybe it's better to put it into .xinitrc in your home dir.
[/edit]

Last edited by Ivan; 05-30-2003 at 06:49 AM.
 
Old 05-30-2003, 07:09 AM   #9
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
That wouldn't normally start GNOME; it would start GDM, the GNOME Display Manager. From there you can start whatever window manager you like by selecting it from the Sessions menu.
 
Old 05-30-2003, 07:20 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can still edit runlevel 4 and change the gdm to
kdm or xdm.
 
Old 05-30-2003, 02:30 PM   #11
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
or chmod -x /usr/bin/gdm,
and it should default to kdm session manager.

-bbeers
 
Old 05-31-2003, 09:08 AM   #12
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks a lott people.You were of great help to me. :-)
 
  


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
grub question changing boot order making windows boot first nfsutim Linux - Newbie 29 10-27-2012 12:53 PM
boot question BroX General 3 09-23-2005 03:27 AM
Boot Question Sober Guy Linux - Newbie 3 02-23-2005 09:19 PM
Boot question (I think?) plisken Linux - General 1 07-04-2003 08:33 PM
yet another boot question Val3ntin Linux - Newbie 4 04-07-2003 06:13 AM

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

All times are GMT -5. The time now is 06:08 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