Click to See Complete Forum and Search --> : Booting to X
whkoh
07-02-2004, 09:25 AM
How can I boot to X after upgrading to the 2.6 kernel? 2.4 booted to X and it still does, but how do I make 2.6 boot in this way? I've tried changing the default runlevel in /etc/inittab, but it doesn't seem to do any good. What should I do?
BTW: using Debian (Sid)
Uranus
07-02-2004, 09:48 AM
Weird - I can't see why 2.6 wouldn't do that since AFAIK it isn't something very much kernel-related. Does it give any errors?
By booting to X, do you mean to a {x,w,k,g}dm?
You have a {x,w,k,g}dm added to the default runlevel? I assume you have, since it works for 2.4 - but just to be sure.
You're sure nothing has changed except the kernel?
Does X start when you start it from the command-line (startx)?
Sam
Dark Ninja
07-02-2004, 09:55 AM
The only reason X should have problems if you upgrade the kernel is because you didn't compile in any video drivers.
Did you compile in all the same options into your kernel from 2.4 to 2.6?
whkoh
07-02-2004, 10:11 AM
Yes X starts without any problems, but I just want it to start automatically when I boot up. I only upgraded the kernel, and it starts automatically for 2.4.
Well, what happens is that I can see the startup script calling up kdm, but after that never happens and I get a console login.
Pafnoutios
07-02-2004, 10:23 AM
What distribution are you using?
Did you compile the kernel yourself or upgrade through your distribution?
If you compiled it yourself, did you compile virtual consoles into the kernel?
After it boots to the text login, login to the console, and try pressing Ctrl-Alt-F7 and tell us what happens.
Try pressing Ctrl-Alt-F2, also, and tell us what happens.
Ctrl-Alt-F1 should return you back to your login shell.
Uranus
07-02-2004, 10:23 AM
OK, try starting kdm from the command line - as root.
E.g:
/etc/init.d/kdm start #for gentoo
telinit run kdm start #for sourcemage
And then the one appropriate for your distro, see if that works. Maybe running 'kdm' as root works as well, I don't know - haven't tried (the thing just crashed my machine when I ran it :D haha)
Sam
whkoh
07-02-2004, 10:43 AM
kdm starts fine manually.
Ctrl-Alt-F2 gives another console.
Ctrl-Alt-F7 gives nothing before I start X.
Thanks in advance.
BTW: the screen blanks after the script tells it to start kdm, but then nothing happens, and it returns to the console login.
whkoh
07-03-2004, 02:00 AM
I think it's a problem with KDM, because X starts fine if I select GDM as the default display manager.
whkoh
07-03-2004, 06:53 AM
Fixed when I apt-get all updates available. Dunno why, but since it works, I don't really care.
Thanks to all :)