Installed gnome3 on Natty, can't log in any more!

Asked by Zoran Mirosevic

I've installed gnome3 on 11.04.
During installation, following command line isntructions, no error was displayed.
Once installation terminated, asked to restart for change to complete.
Restarted system, login screen asked for user, than password and hanged there.
Desktop shows only upper taskbar with off button in the upper left corner, grayed login screen.
Can't login anymore in to the system.

I've tried from root-with-networking-command-line "http://askubuntu.com/questions/22946/how-do-i-install-the-latest-version-of-gnome-3", which resulted without success.
Something got wrong here, no If I try to update from root-with-networking-command-line it gets the message:
E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-natty.list
E: The list of sources could be read

How can I bring back the 11.04 classic Ubuntu session and login normally?

Thansk in advance

Zoran Mirosevic

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-session Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

> E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d

You could try to repair this by opening sources.list.d, assume the 'ain' can either be removed or means 'main'.

> How can I bring back the 11.04 classic Ubuntu session

The link you've posted has a suggestion.
< Removing GNOME3 and going back to stock 11.04
Following these steps will remove the GNOME3 PPA and revert your packages>

Revision history for this message
Zoran Mirosevic (zoran-mirosevic) said :
#2

Thanks Sam on prompt answer,
I need few clarifications:
- Since I can't log in to the system, only way to do repair is from command line. I'm not skilled enough to complete repair without detailed instructions. I'm asking you therefore to instruct how to edit/repair "/etc/apt/sources.list.d"
- As I've stated in the initial question, I've already followed the link wich you're mentioning again, without positive results, reverting packages was unsuscesful living me without possibility to update sources and revert packages. I have a feeling that it might be due to broken "/etc/apt/sources.list.d"

Still need help

Revision history for this message
Best Sam_ (and-sam) said :
#3

You could edit with 'nano'
https://help.ubuntu.com/community/Nano

either from 'Recovery mode' option 'root shell'
http://unixlab.blogspot.com/2009/08/exploring-ubuntu-recovery-mode.html

or tty (virtual console, text mode only): ctrl+alt+f1
Login with username and passwd.
sudo nano /etc/apt/sources.list.d

Shortcuts are explained at the bottom of 'nano'.

Revision history for this message
Zoran Mirosevic (zoran-mirosevic) said :
#4

Thanks Sam_, that solved my question.