Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

linux.die.net/man/1/startx

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.

share|improve this answer
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

 
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.