Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running a VMWare Player with a Ubuntu 12.04 LTS Precise Pangloin as Guest on my Windows 7. Sometimes I get the shutdown blue screen error in Windows, this time it happened when I was running the Player. When I restarted everything Ubuntu gave the not so unfamiliar in this forum Login Loop in adminstrator login. I login and there's this black screen where I can only read: "piix4...smbus:0.0.0.07.3 Host Smbus controller not enabled" . When I go to the Prompt in root mode it fails to update and only upgraded, specially some plugins ( I think graphic plugins) which also appear in one an error message after quitting the prompt, but they´are successfully installed. They are not the error message. After that I have been working with the Fail/safe Mode recovery panel.

When I try to update via Root I get errors like this:

W:failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/release.gpg could not        resolve 'extras/ubuntu.com

There are 8 more like this referring to areas like:

-archive/canonical.com
-ppa.Launchpad.net
-security.Ubuntu.com
-Us.archive.ubuntu.com - release.gpg
                        precise-updates/release.gpg
                        precise_backport/release.gpg 

Final Message: some index files failed to download.....they have been ignored or old files are used.

The black screens most of the time pass by too fast for me to pick up any information. But in general I think I have done everything I was able to in the recovery panel including updating network and graphic packages and recovering filesystem packages and the basic stuff ( I am a beginner regarding Linux ) in the root prompt.

Now I am stuck in this screen with graphic options:

- Run in low-graphics mode just for one session
- Reconfigure Graphics
- Troubleshoot the error
- Exit to console login

I am trying to choose to reconfigure graphics but the mouse disappears in the virtual machine screen and sometimes when options change ity´s only the first and last option. ut this happens from the blue without messages. This particular option menu is in the regular GUI style against a black screen in Terminal style. Really strange.

Thanx in advance, all is welcome and appreciated.

share|improve this question
When you have multiple users, do the other users work? I have two users, the main user loops, the other works perfectly fine. Unfortunately I cannot access my data via the user but I could login as a main user via ctrl+alt+F1. Message for startx: Server is already active for display 0 Delete the locked file "filename" mentioned, then sudo reboot – user74866 Jul 3 '12 at 22:43

7 Answers

I am not sure if what I was experiencing is the same but maybe this will work for you.

I have Ubuntu 12.04 Server LTS updated 6-7-2012 and Desktop installed. I am also running this as a VM in vmware player, not sure if that matters or not.

I had done a ctrl+alt+F1 from desktop to get a shell. When I tried to to start the gui again (sudo startx), I got errors, then after a reboot I got the log-in and when I put in my password it would just loop no error for bad PW! But when I switched to the Guest log-in it would boot normally! What a pain, huh!

So what I did was

  • switch to shell (Ctrl+Alt+F1)
  • logged in as the user
  • cd /home/user (I think that cd ~ will get you to the same place)
  • sudo mv .Xauthority .XauthorityBak
  • sudo reboot

This worked it booted normal and all is good!

There are specifics of my installation which may not apply to yours but maybe it will work.

Hope this helps, K

P.S. I got this info from http://ubuntuforums.org/showthread.php?t=1890457 Thanks carranty

EDIT: I started to get a System Problem Detected when I would log in from a locked desktop so I sudo chown 777 .Xauthority and that seemed to have cleared up the problem. I am not sure if this causes a security issue.

EDIT: Not sure if this did clear up the problem, things are getting funky!

share|improve this answer
anyone think that this might be an issue with the updates? – UbuntuNooBkjp Jun 7 '12 at 5:05

startx doesn't work

Seems like you lost write-rights... Check whether the solution described here will work for you. This happened to me.

I found a solution for me:

I changed my password, reinstalled xserver-xorg by typing: sudo apt-get install --reinstall xorg

After a reboot it worked for me. Notice: I removed the .XAuthority files in /home/username by: sudo rm /home/username/.XAuthority*

to get a shell try Strg-Alt-F1 when you turn on your computer. I actually got my write-rights back by using clear in recovery mode.

share|improve this answer

Logging in as root at the command shell level and renaming the user's /home/user/.Xauthority and then rebooting seemed to cure the issue. Not sure why it occurred in first place though

share|improve this answer

These suggested instructions apply to my case only and should be considered as a non-professional comment and therefore to be tried AT YOUR OWN RISK.

I am using ACER Aspire 4755g with Ubuntu 12.04.1 LTS.

I have also encountered this problem, and in my case, I had a problem with lightdm. As a temporary measure, when you get to the login screen, press the keyboard sequence Ctrl+Alt+F1. This will get you to a terminal-like screen. It will show you something like this:

[COMPUTER NAME] login:

for example,

Aspire-4755g login:

type in your username and press Enter. This will result into something like this,

Aspire-4755g login: shiela

Password:

Enter your password, and, if correct, would show something like this:

Aspire-4755g login: shiela

Password:

Last login: Tue Jan 1 06:45:02 JPT 2013 on tty1

Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-35-generic-pae i686)

* Documentation: https://help.ubuntu.com/

2 packages can be updated.

0 update are security updates.

shiela@Aspire-4755g:~s

Then, press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen. This procedure logs you into the system using the terminal-like window. You can now try to login to your account using the login screen. In my experience, I was able to reach the desktop. It seems that there is something wrong with the lightdm configuration that it was not able to log you in to the system.

Should you not make it to the desktop (as it was called in Windows), you may try adding an additional command by pressing the Ctrl+Alt+F1:

shiela@Aspire-4755g:~s ecryptfs-mount-private

press Enter, and it will ask you your password. Enter your password, then press the keyboard sequence Ctrl+Alt+F7 to get you back to the login screen (or to where you last left).

This command loads your Home folder, together with its contents, should you have chosen to encrypt the home folder upon installation of Ubuntu.

Once successful, you may try to review your lightdm configuration located on /etc/lightdm/lightdm.conf.

share|improve this answer

I had same issue, I uninstalled 12.04 version and installed 12.10 Version and the problem is gone.

share|improve this answer

Yes I caused a Login Loop on my main Ubuntu 12.10 user and the fix was simple.

Background: Ubuntu 12.10 is installed in VirtualBox running on Windows 7 and uses Unity.

Cause: From the Desktop I Ctrl+Alt+T into terminal mode and then tried to run 'startx' (I was trying to help a friend over the phone late at night...but this was a stupid thing to do). A new blank Unity desktop appeared and everything hung...

Problem: Forcing VirtualBox to close and then rebooting Ubuntu I got to the login screen but kept looping back to this same screen everytime after entering the password. No errors were displayed. I could login as Guest but I had no Sudo rights and thus no control... However once logged in as Guest I Ctrl+Alt+F3 and got to a terminal login. I entered my main user name and password and logged in with command mode. Logout took me back to CLI login and Ctrl+Alt+F7 took me back to Guest desktop. So my account still worked. I then added a test user and gave them sudo rights. From the Unity login I could login and logout Test user with no problem. So Unity still worked.

Fix: So my main account was still accessable via CLI and Unity was working for all other accounts. This indicated a configuation problem on my main account. I followed the advice of Ubuntu 12.10 gets stuck in a Login Loop and did chown username:username .Xauthority. This fixed my problem.

share|improve this answer

I had a similar issue. Mine was that I had done sudo -E -s or something at some point. and restarted x, thus root beeing owner of my user's .Xauthority. When I changed ownership back to my normal user, it was golden.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.