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.

  • 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

Repair attempt:

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


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/

  • 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

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

sudo apt-get install ubuntu-session

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.