When I start Ubuntu it enters tty[1-6] instead of my desktop (How do I get to desktop?)

Solution 1:

It sounds like you might have managed to uninstall your desktop environment. (Unless Karmic has replaced GDM, which I doubt.)

If you were using GNOME, you probably installed Karmic with the ubuntu-desktop. You'll want to reinstall that:

sudo apt-get install ubuntu-desktop

...or possibly

sudo apt-get --reinstall install ubuntu-desktop

That should pull in any missing packages. Once you've reinstalled, you should be able to run

sudo /etc/init.d/gdm restart

... and get back to the GDM login screen.

Solution 2:

I think I may be experiencing similar issues.

Since I noticed the mouse I tried Ctrl+Alt+F1 then Ctrl+Alt+F7 and it was fixed for me.

It's irritating that this happens a lot when I turn my TV off for a while then on.

Solution 3:

My solution has been to edit the file /etc/lxdm/default.conf and set the server section this way

[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1

Solution 4:

This is what worked for me.

  • Logged in to tty1
  • Purged unity-greeter which was the default lightdm greeter for my unity desktop:

    sudo apt-get remove --purge unity-greeter
    
  • Then I installed lightdm-gtk-greeter:

    sudo apt-get -y install lightdm-gtk-greeter
    
  • Restarted Ubuntu

  • Logged in to my desktop
  • Removed lightdm-gtk-greeter:

    sudo apt-get remove --purge lightdm-gtk-greeter
    
  • Installed unity-greeter:

    sudo apt-get -y install unity-greeter
    
  • Then restarted again and it worked


P.S. In case you cannot connect to internet to download and install required packages using apt-get, I suggest you manually download it from Ubuntu package archives from a working computer, save it in a usb drive, mount it from tty1, and then use dpkg to install it. Please use Google to find out how.

If lightdm-gtk-greeter works for you and you are satisfied with it, you can stop there. However in my experience, it uses slightly more memory than unity-greeter and not as aesthetically good looking as well.