I started having this issue after having removed Kubuntu from my computer. At first login screen wouldn't even show, instead the screen stopped at Checking Battery state stage. At this point I still could use startx after Alt+F1. Then I reinstalled and reconfigured dmg and ubuntu-desktop a number of times, so I got my login screen back. Now, everytime I get to the login screen, my user name shows up but password is not requested, just an 'Access' button shows, and if I click the button the screen just goes black for a second and then I'm back to the login screen. I can get into Ubuntu only via Guest account. In addition, Alt+F1 and startx doesn't work anymore, giving me an output that ends like this:

xinit: unable to connect to X server: Connection refused
xinit: server error

Since I believe this is somehow related to an X issue, I took a log of Xorg.0.log, here is the link. Hope someone has a solution.



What I'm finding is that your log file has a lot of files missing. This probably leads to the errors, either way it seems like startx is trying to load up a GUI that doesn't exist.

Now what you'd need to do is get into the command line and reinstall the packages for either KDE or GNOME. It's likely that the packages are corrupted in some way.

  • 1
    In the end, I worked it out with this. – The_Prat Oct 22 '11 at 16:16
  • Anyway, do you think I'm gonna have trouble with all those missing packages? – The_Prat Oct 22 '11 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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