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 - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2014, 11:54 AM   #1
slackr007
Member
 
Registered: Dec 2004
Distribution: Ubuntu 64-bit
Posts: 67

Rep: Reputation: 15
Ubuntu 14.04 hangs after login, doesn't respond to popular fixes


So I've got 14.04 installed on a new computer I just built. All new hardware, new install, everything new. I had it all up and running for a few days. I got the nvidia drivers installed, installed steam and was even able to play some games. The last time I had it up it loaded fine, I played 'The Talos Principle', then rebooted to go back to windows. Now when I boot into linux it hangs after the login screen. You can look at my post history as I had this issue before. I was able to fix it that time, but I think it was a different cause.

Some things I've tried to date:
The most common suggestion I've found from googling this issue is to restart lightdm. I've done that to no avail.

I've tried simply entering tty from the frozen screen and then coming back out with Ctrl+Alt+F7. No dice there either.

I've also seen that some people needed to reset their graphics drivers when using nvidia. I tried to do that and I don't think it worked. When I try to purge all nvidia packages it always says "0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded".
Results of dpkg:
Code:
$ dpkg -l nvidia*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait-Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-===================
un  nvidia-common  <none>       <none>       (no description available)
un  nvidia-prime   <none>       <none>       (no description available)
I'm gonna keep googling around in case I find something useful, but I fear I'm treading into water deeper than I know how to swim in and I'm worried that I'll screw something up if I start experimenting. I know just enough about linux to be dangerous. Any advice on what the results of dpkg above mean or suggestions about the problem would be much appreciated.

edit: Forgot to mention that the last time it was working I didn't make any changes to anything. I played a game and rebooted. Suddenly things are broken.

Last edited by slackr007; 12-19-2014 at 12:05 PM.
 
Old 12-20-2014, 12:24 PM   #2
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
I presume you have two partitions on your C:\ drive, one is for the Windows, the other for Ubuntu. I also assume you loaded/installed the Windows OS first. I also assume you can log in to the Windows. If so, go to cmd prompt as an administrator and run bcdedit.exe. See what is inside. The Ubuntu OS should be properly acknowledged there. I am not sure you will find a solution there but it will be a good starting point.

Last edited by AlexBB; 12-20-2014 at 03:23 PM.
 
Old 12-22-2014, 01:34 PM   #3
slackr007
Member
 
Registered: Dec 2004
Distribution: Ubuntu 64-bit
Posts: 67

Original Poster
Rep: Reputation: 15
Not Acknowledged

All of your assumptions are correct, except Ubuntu being acknowledged in bcdedit.exe. Results follow:

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>bcdedit.exe

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume1
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {538872e5-841d-11e4-a941-c91704289c9f}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
identifier              {current}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows 7
locale                  en-US
inherit                 {bootloadersettings}
recoverysequence        {538872e7-841d-11e4-a941-c91704289c9f}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {538872e5-841d-11e4-a941-c91704289c9f}
nx                      OptIn

C:\Windows\system32>
I'm reading up on it now, but what is the significance of Ubuntu not being listed there? Usually I assume that ubuntu is invisible to windows (mounting file systems, needing to be installed second, etc).
 
Old 12-22-2014, 01:40 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Maybe you should check xsession errors or /var/log/messages
 
Old 12-22-2014, 02:21 PM   #5
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
I have a similar problem except I could not even once boot to Ubuntu after trying to install it three times. Every time starting with #2 the installer tells me I already have the Ubuntu installed and I don't need to do it again. And I cannot find it anywhere. Bcdedit.exe shows nothing. It is so bizarre.
 
1 members found this post helpful.
Old 12-22-2014, 03:01 PM   #6
slackr007
Member
 
Registered: Dec 2004
Distribution: Ubuntu 64-bit
Posts: 67

Original Poster
Rep: Reputation: 15
~/.xsession-errors:
Code:
Xlib:   extension "GLX" missing on display ":0".
Xlib:   extension "GLX" missing on display ":0".
Script for ibus started at run_im.
Script for auto strted at run_im.
Script for default started at run_im.
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd main process ended, respawning
init: at-spi2-registryd respawning too fast, stopped
What would I look at in /var/log/? I looked at lightdm.log and that was empty. nvidia-installer.log is huge and I don't really know what the stuff in it means. Nothing obviously wrong in it. Just looks like a log of all the things the installer did. It does mention that it detected a previous driver when installing, though.
 
Old 12-23-2014, 01:29 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried removing the nvidia driver with rmmod or modprobe -r & loading nouveau with modprobe?
 
Old 12-24-2014, 08:32 AM   #8
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
What does nvidia driver have to do with Ubuntu?
 
Old 12-24-2014, 09:08 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,499

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
What does nvidia driver have to do with Ubuntu?
The OP clearly states in his initial post that he is using an Nvidia driver on the machine.

You won't see an entry in the bcdedit.exe file unless you manually edited that file yourself and put the entry there or, used some third party software such as EasyBCD which will edit the file and put an entry for Linux.

Which windows version are you using? Are you able to boot Ubuntu but simply cannot get into a GUI but are able to access a terminal?
 
Old 12-24-2014, 01:29 PM   #10
AlexBB
Member
 
Registered: Mar 2014
Posts: 464

Rep: Reputation: Disabled
I am sorry, I was under the impression that it was my OP. Very sorry. I have a somewhat similar problem, this is why I got confused. Thanks.
 
Old 12-24-2014, 05:28 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
Have you tried removing the nvidia driver with rmmod or modprobe -r & loading nouveau with modprobe?
I don't think that will work since nvidia replaces some Xorg files with it's own files during installation. If an update was done recently involving x or mesa I would recommend to uninstall and reinstall the nvidia driver or uninstall and use nouveau driver.
 
Old 02-01-2015, 02:05 PM   #12
slackr007
Member
 
Registered: Dec 2004
Distribution: Ubuntu 64-bit
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yancek View Post
Which windows version are you using? Are you able to boot Ubuntu but simply cannot get into a GUI but are able to access a terminal?
Sorry for the delayed reply. I got fed up with the issue and quit messing with it for a while. I'm using windows 7 pro. I can boot Ubuntu normally. I get the login screen and log in, then it just goes to a blank screen with the background and a "ubuntu 14.04 LTS" watermark in the bottom left. I can enter a terminal from this screen, but have no mouse and don't get reactions from any other keyboard commands that I know of. Terminal access is how I am able to view my logs.

Just an additional tidbit: I have also tried accessing the advanced ubuntu options in grub and loading an older version. Same issue, the only difference being that everything is in low resolution. Perhaps because I've rolled back to a version which doesn't have my graphics driver installed? I'm not entirely sure what that is even doing, to be honest.
 
  


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
Keyboard Doesn't Respond to input until Menu Key is pressed - Ubuntu 11.04 AlexOnVinyl Linux - Newbie 1 09-04-2011 09:51 PM
ubuntu lucid doesn't respond on blank DVD insert SaintDanBert Linux - Hardware 7 11-16-2010 10:46 AM
applications tab doesn't respond when i cliclked in an ubuntu 8.04 am_it_wild Linux - Newbie 1 03-19-2009 07:12 PM
Ubuntu hangs on login doralsoral Linux - Software 3 04-15-2006 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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