LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-17-2011, 05:48 AM   #1
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Rep: Reputation: 0
Question Debian Wheezy fails to boot into GUI after POST


Hi,

I'm running Debian Wheezy x-86 32 bit Kernel 2.6.38-2-686 and I have encountered a problem I'm hoping to get some help with. All help would be greatly appreciated as researching this issue has not led to any concrete information. After a reboot or similar, the process will go through the boot sequence including giving me the option of what kernel to run either 2.6.32 or 2.6.38 and starting module's as well as performing POST and then when the logon screen should appear I'm presented with a flashing cursor. I can boot into saftey mode and the CLI, but not being very efficent with Bash and the CLI I'm not sure where to go or what to do.T.I.A.

Regards Scott
 
Old 05-17-2011, 07:04 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
do you / did you have gnome installed? do you have the package 'gnome-core' installed? that's one of the important ones, and it might tell you weather you have gnome at all. Do you have gdm or gdm3 installed?
 
Old 05-17-2011, 07:16 AM   #3
lunitix
LQ Newbie
 
Registered: Apr 2010
Distribution: Debian
Posts: 16

Rep: Reputation: 2
Did you do a dist-upgrade prior that ? I did also and now I cannot start X , I am getting a console login though . I guess something was broken in the updates .

I haven't had time to investigate further but I hope I will later .
 
Old 05-17-2011, 10:24 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Were you able to boot into the gui previously?.
Have you done any updates recently?,and perhaps installed the new version of X in Testing?.
 
Old 05-17-2011, 05:46 PM   #5
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi Fellows,

Thanks for your feedback.Yes I was able to boot into the GUI before and no updates where done recently.GDM3 is installed as well as gnome-core and no dist-upgrade was carried out prior. Everything was working fine prior to this malfunction it just happened all of a sudden after a reboot. I had just used a live CD to look at Fedora 15 beta which uses gnome 3 and I was interested to see what the new desktop environment looked like.

Regards, Scott
 
Old 05-17-2011, 06:17 PM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Once you are presented the cursor, try to get into a console with CTRL-ALT-F1. Log in as root (or use sudo) and view the contents of this file:
Code:
less /var/log/Xorg.0/log
or
Code:
sudo less /var/log/Xorg.0/log
Look first for lines starting with (EE), but if that doesn't state clear errors, read thru the entire file, looking phrases like "failed", "not found" or "error".

jlinkels
 
Old 05-17-2011, 07:19 PM   #7
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi jlinkels

From flashing cursor, unable to get consol using CTL-ALT-F1. But I booted into saftey mode and logged in as root with no success from the supplied code. I was able list (ls) files in var/log but there is no Xorg.O/log listed.

Regards,Scott
 
Old 05-17-2011, 07:23 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
That is a typo, it should be /var/log/Xorg.0.log instead of /var/log/Xorg.0/log.
 
Old 05-17-2011, 07:38 PM   #9
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi TobiSGD

When I tried the new piece of code I just get a error message cannot find directory or similar.When I cd into /var/log and then ls there is no Xorg.O.log listed.

Regards Scott
 
Old 05-18-2011, 05:12 AM   #10
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
It should be /var/log/Xorg.0.log

The '0' is a zero, not an 'Oh'.

Apologies for the wrong name in the first place, speed of typing...

jlinkels
 
Old 05-18-2011, 07:49 AM   #11
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,063

Rep: Reputation: 47
I would check the filesystem with fsck, just to be sure.
 
Old 05-18-2011, 09:09 AM   #12
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try CTRL+ALT+F2 to get a terminal, and launch dselect. Update the list of packages. Select which packages, you have to hit the space bar to get to the package screen. If you don't do anything, and just hit enter, then debian will usually be back in the gui after it installs a few programs. But if worse comes to worst, launch dselect again and remove xserver-xorg-core. That will take a bunch of stuff with it, but when you reinstall the same package, then you should for sure have gui. The only other thing is xfonts. You might have to reinstall the 100dpi and 75dpi xfonts. And do read /var/log/Xorg.0.log, maybe not the entire log, but until you find a problem.

This is also a good trick:

X -configure

and follow the directions. If you get a textured screen with an X that moves with the mouse, the xorg.conf.new file works. You test it like so:

X -config /home/sam/xorg.conf.new

Assuming it works,

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak && cp /home/sam/xorg.conf.new /etc/X11/xorg.conf

And you have to use a little common sense. Try the command

sudo startx &

And that should fire up the gui.

And if you installed the nVidia proprietary driver pack, and then recompiled the kernel, you have to install the nVidia driver again.

Last edited by AwesomeMachine; 05-18-2011 at 09:11 AM.
 
Old 05-19-2011, 05:44 AM   #13
sj061
LQ Newbie
 
Registered: Feb 2007
Location: North Gosford,Australia
Distribution: Debian: Squeeze, Wheezy, Sid and Arch Linux
Posts: 25

Original Poster
Rep: Reputation: 0
Hi,freedom lovers
Solved

I would like to thank all concerned that replied to my cries of help, it is greatly appreciated and goes to prove that the open source community is well and truly alive. Kudos to all. Unfortunately nothing seemed to repair my woes and I would've liked to keep on experimenting to find the fault but alas it is my main desktop machine and I need to be operational. So I've taken the easy way out and reinstalled Wheezy and restored my back-upped information and all is up and running as before.

Regards Scott
Stay free Stay Open Source
 
Old 05-30-2011, 06:44 AM   #14
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Lightbulb

Based on the kernel options ( multiple kernels) it looks like you upgraded at one point. As AwesomeMachine mentioned if you installed the nvidia proprietary driver you will need to reinstall after the kernel upgrade.

I had the same issue and this was my root cause/solution. I only posted this reply because I am assuming you will do the same thing ("2.6.32 --> 2.6.38") and will be in the same position all over again. So please keep this in mind if you planning on upgrading from squeeze to Wheezy.

 
Old 05-30-2011, 09:23 AM   #15
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by jv2112 View Post
I had the same issue and this was my root cause/solution. I only posted this reply because I am assuming you will do the same thing ("2.6.32 --> 2.6.38") and will be in the same position all over again. So please keep this in mind if you planning on upgrading from squeeze to Wheezy.
That is all correct, and this will remain a problem as long as the kernel is changed from one upgrade to the next.

Therefor it would have been interesting to look at Xorg.0.log (correctly spelled this time) to see if there has been a driver failure.

I have seen reports that once the NVIDIA driver is installed from the Debian repositories, the post-install script for a new kernel should take care of compiling and installing the NVIDIA driver. (I mean the proprietary driver from the repositories, not the nouveau driver). I am not sure if this even works in the testing version, but removing the NVIDIA driver which was installed the nvidia way, and installing it again the Debian way proved impossible for me. Not an uncommon problem.

If you have to upgrade your kernel and want to keep an operational system, you should create a xorg.conf and use the nv driver. This will assure booting into the GUI after an upgrade.

jlinkels
 
  


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
[SOLVED] DVI monitor screen resolution not detected (Debian Wheezy) ocafu Linux - Hardware 16 05-07-2013 04:01 PM
Debian Testing (Wheezy) update REALLY broke networking rbees Linux - Networking 11 05-16-2011 04:14 AM
Debian Wheezy hangs on EeePC Changes Linux - General 10 04-20-2011 09:10 AM
LXer: Living on the bleeding edge: Debian wheezy/sid LXer Syndicated Linux News 0 02-14-2011 07:20 PM
Info: Debian Wheezy on the way jdkaye Debian 14 09-17-2010 09:36 PM

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

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