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 have upgraded an old desktop that I use as HTPC from 10.10 to 11.04. It has an old 256MB Nvidia card. After the upgrade ubuntu will boot but all that shows is the wallpaper, no unity, windows, nothing. The problem is I had the box configured to auto login and so now I cannot log out to switch to Classic mode (which I know works because it works on the liveCD!).

How can I log out when I cannot see anything? Terminal will not display. Is there some key combination at boot that will allow me to force it to classic mode (unlikely). Can I boot into a liveCD, mount the hard drive and change some config file to turn off auto login?

Any help much appreciated! I don't want to format the drive and start over!

share|improve this question
    
So I assume you have enabled autologin, due to which you are not able to choose gdm. –  Manish Sinha May 4 '11 at 21:19

4 Answers 4

up vote 4 down vote accepted

Try typing CTRL ALT F1 and logging in.

Then type

sudo killall Xorg

this should kill the Xserver and leave you at the login screen.

When selecting your user account, click the Session drop-down at the bottom of the screen and choose Ubuntu Classic

share|improve this answer

Try this:

  1. Hit ctrl-alt-f1 to enter a virtual terminal and log in with your username
  2. Type the command sudo nano /etc/gdm/custom.conf and enter your password again
  3. In this file, change automaticloginenable=true to false
  4. Hit ctrl+x, y, then enter to save and quit
  5. Enter sudo reboot

You should get a login window at boot now, probably with an auto-login countdown, so make sure you catch it in time to switch your session

share|improve this answer
    
Perfect! Solved it first time! Thanks so much! The ubuntu community is awesome! –  Bob May 4 '11 at 22:06

You can force a terminal screen by holding Ctr-Alt-F1. Then edit /etc/gdm/gdm.conf (sudo gedit /etc/gdm/gdm.conf). Look about 20-30 lines down for "AutomaticeLoginEnable" and "AutomaticLogin" and comment out those lines. Once that's done save the file then you can logout using gnome-session-save --kill. Then Ctr-Alt-F8 to go back to the GUI.

share|improve this answer

You can see how i resolved my issue here:

http://jansouza.com/2011/04/29/unity-nvidia-geforce/

Tell me if you have a problem with the language ;-)

Thanks

share|improve this answer
    
Please repost your solution here in full, or in brief, in English. –  Marco Ceppi May 5 '11 at 18:09

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.