LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Boot question. (https://www.linuxquestions.org/questions/slackware-14/boot-question-62638/)

LiD 05-30-2003 03:26 AM

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.

Gnute 05-30-2003 03:33 AM

well, you're not the only person having that problem, only when i type startx it loads...

whansard 05-30-2003 03:38 AM

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.

LiD 05-30-2003 05:34 AM

Can i change LILO(My boot loader) to directly start the X11 ?

whansard 05-30-2003 06:02 AM

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.

Ivan 05-30-2003 06:02 AM

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:

LiD 05-30-2003 06:23 AM

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.. ?

Ivan 05-30-2003 06:39 AM

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]

Rodrin 05-30-2003 07:09 AM

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.

whansard 05-30-2003 07:20 AM

you can still edit runlevel 4 and change the gdm to
kdm or xdm.

bbeers 05-30-2003 02:30 PM

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

-bbeers

LiD 05-31-2003 09:08 AM

Thanks a lott people.You were of great help to me. :-)


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