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 removed Unity via the Software Store and rebooted.

Now I got the following error:

unable to load session 'ubuntu'

I can't log in as guest either.

share|improve this question
    
When did you get that error? Can you see the login screen? Can you enter in some TTY? –  Lucio Apr 21 '13 at 21:38
add comment

2 Answers

Repair attempt:

Please open tty (virtual console, text mode only): Ctrl+Alt+F1

Enter:

sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get -f install
sudo dpkg-reconfigure ubuntu-desktop
sudo reboot

If above does not work, try:

sudo apt-get install gnome-session
sudo apt-get install lightdm
sudo apt-get install unity-greeter
sudo dpkg-reconfigure lightdm

The install commands will tell self-explanatory if it’s already installed or not.

Credits: http://riveridea.wordpress.com/2012/03/22/how-to-solve-failed-to-load-session-ubuntu/

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Mitch May 13 '13 at 11:44
add comment

Because the problem is unable to load session 'ubuntu', So the solution might

sudo apt-get install ubuntu-session
share|improve this answer
add comment

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.