LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-03-2007, 11:53 PM   #1
a_m0d
Member
 
Registered: Apr 2007
Location: Perth, WA, Australia
Distribution: Fedora 8, Fedora 10
Posts: 49

Rep: Reputation: 15
Login to GUI problem


Please help me!
I have recently installed fedora core 6 on my laptop, and I am dual booting it with Vista (just in case I need something on windows). However, when I boot into linux, sometimes I will get a gui login screen (after linux is loaded) and everything works fine - I can use gnome or KDE or do what I want. Other times (and this happens randomly, sometimes not for ages, and then for a couple of times in a row) I get a text login, and get sent straight to a shell. From there I have tried to start gnome and KDE but I get told they are already started. Please tell me how I can fix this problem.
 
Old 04-04-2007, 01:29 AM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
it odd, you sure during start pc you are not choosing recovery mode?
 
Old 04-04-2007, 02:10 AM   #3
a_m0d
Member
 
Registered: Apr 2007
Location: Perth, WA, Australia
Distribution: Fedora 8, Fedora 10
Posts: 49

Original Poster
Rep: Reputation: 15
Question

definitely sure. I do the same every time - just start the computer and either let grub time out or just choose linux straight away (it doesn't make a difference what I do) and then let fedora load up. Once it has loaded the screen goes blank for a moment (always) and then the cursor appears - if it is the normal arrow with the rotating blue dots then I get a gui login, but if it is just the cross then I get a shell login. I have installed fedora 3 times now on the same machine (I stuffed up the system the first two times, but the problem occured before that already), and the third time I even got the text login after I did the first time configuration - it went straight to the text login rather than gui.
 
Old 04-04-2007, 02:22 AM   #4
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
when u enter text mode, have u see and error msg from Xsever?
 
Old 04-04-2007, 03:31 AM   #5
a_m0d
Member
 
Registered: Apr 2007
Location: Perth, WA, Australia
Distribution: Fedora 8, Fedora 10
Posts: 49

Original Poster
Rep: Reputation: 15
nope; no error message, it just boots in like nothing was wrong
 
Old 04-04-2007, 10:12 AM   #6
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

Quote:
Originally Posted by a_m0d
Please help me!
I have recently installed fedora core 6 on my laptop, and I am dual booting it with Vista (just in case I need something on windows). However, when I boot into linux, sometimes I will get a gui login screen (after linux is loaded) and everything works fine - I can use gnome or KDE or do what I want. Other times (and this happens randomly, sometimes not for ages, and then for a couple of times in a row) I get a text login, and get sent straight to a shell. From there I have tried to start gnome and KDE but I get told they are already started. Please tell me how I can fix this problem.
For some reason you may have booted into a virtual console instead of the getting the login screen

When you are at the text login , login and then issue the command :
runlevel
to check to see what runlevel you are actually in ,if it is runlevel 5 , then you will be in a virtural console.

If you are in runlevel 5 , then log out and then try hitting [Alt-F7] to see if you can get back to the login screen.




.
 
Old 04-04-2007, 05:12 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
xserver logs to /var/log/Xorg.0.log, could you post all of this so we can check it out, any problems with xserver will be logged here.
 
Old 04-04-2007, 07:10 PM   #8
a_m0d
Member
 
Registered: Apr 2007
Location: Perth, WA, Australia
Distribution: Fedora 8, Fedora 10
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks guys for helping me.
I haven't yet checked the log, but I have discovered that it is indeed sending me to one of the virtual consoles. I pressed <ctrl>-<alt>-<f7> and got the login screen that I was after; I don't know why but it must just decide to send me to a virtual console for some reason.
 
Old 04-04-2007, 11:37 PM   #9
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

Quote:
Originally Posted by a_m0d
Thanks guys for helping me.
I haven't yet checked the log, but I have discovered that it is indeed sending me to one of the virtual consoles. I pressed <ctrl>-<alt>-<f7> and got the login screen that I was after; I don't know why but it must just decide to send me to a virtual console for some reason.
Check your entries in the menu.1st or grub.conf file for a rougue entry on the line to boot linux.
 
Old 04-13-2007, 08:16 AM   #10
kovacsp
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
I have the same problem

Dear all,

I have the same problem. Sometimes, although I boot to init 5, and X starts normally (I can even see the nvidia splash screen), it presents me a text console instead of the gui login.
It's ok, I can press alt+f7 to go the the graphical login, but still, this is not the expected operation and would like to know the reason for that.
The bug seems to be totally rnadom for me...
Any ideas?

Thanks,
Peter
 
Old 04-13-2007, 10:20 AM   #11
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

Quote:
Originally Posted by kovacsp
Dear all,

I have the same problem. Sometimes, although I boot to init 5, and X starts normally (I can even see the nvidia splash screen), it presents me a text console instead of the gui login.
It's ok, I can press alt+f7 to go the the graphical login, but still, this is not the expected operation and would like to know the reason for that.
The bug seems to be totally rnadom for me...
Any ideas?

Thanks,
Peter
Post the entries from your menu.lst file so that people can see how the grub menu is set up.
 
Old 04-16-2007, 08:27 AM   #12
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally Posted by a_m0d
I don't know why but it must just decide to send me to a virtual console for some reason.
The beauty that is linux, if the xserver fails for any reason it will fall back to a console so you can still access the system to do repairs.

Last edited by fotoguy; 04-16-2007 at 08:30 AM.
 
Old 04-16-2007, 09:08 AM   #13
kovacsp
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by sandgroper
Post the entries from your menu.lst file so that people can see how the grub menu is set up.
Here is how my menu.lst looks like:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 noapic rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Windows
rootnoverify (hd0,0)
chainloader +1

It's a default Fedora Core 6 menu.lst, the only thing I touched is that I labeled the second entry to Windows insteal of Other.

Do you see any strange?

Thanks,
Peter
 
Old 04-16-2007, 09:12 AM   #14
kovacsp
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by fotoguy
The beauty that is linux, if the xserver fails for any reason it will fall back to a console so you can still access the system to do repairs.
I might be wrong but I suppose a_m0d is having the same problem as me.
And beleive me, the xserver actually starts, but despite this, it switches to a text login in the very last moment. When I press alt+f7, it switches to the GUI instantly.
Of course if it fails, it won't display, we know that.

Best regards,
Peter
 
Old 04-17-2007, 08:02 AM   #15
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

Quote:
Originally Posted by kovacsp
Here is how my menu.lst looks like:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 noapic rhgb quiet
initrd /boot/initrd-2.6.18-1.2798.fc6.img
title Windows
rootnoverify (hd0,0)
chainloader +1

It's a default Fedora Core 6 menu.lst, the only thing I touched is that I labeled the second entry to Windows insteal of Other.

Do you see any strange?

Thanks,
Peter
That's good , having to be able to see your menu.lst file can be helpful.
Firstly a minor thing , comment out the hiddenmenu command so that you can get the grub menu to display on the screen.


I think that your problem could be in your kernel boot parameters and using the noapc option.

Code:
title Fedora Core (2.6.18-1.2798.fc6)
        root (hd0,1)
        kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/1 noapic rhgb quiet
        initrd /boot/initrd-2.6.18-1.2798.fc6.img
I don't know enough about your system hardware , but it looks like there is a problem with the noapic option which could be causing a conflict and dumps you straight to a shell to fix it.

Do a search for the noapic kernel option to see if you can find a connection with your system hardware setup.
 
  


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
Suse GUI login Problem manhars Linux - Newbie 1 01-25-2007 02:12 AM
login gui problem mkoljack Fedora 4 08-03-2005 12:16 PM
GUI Login problem MaassD Mandriva 4 01-12-2005 11:09 PM
Strange Login/GUI Problem ralph-wiggum Linux - General 7 08-06-2003 04:54 PM
NIS GUI login problem shajahanak Linux - Networking 1 04-02-2001 03:01 PM

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

All times are GMT -5. The time now is 04:47 PM.

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