Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So i am running a theme on gnome and it froze, so i used killall gdm to kill it, after this it took me to a fullscreen terminal which i can not get out of. It tells me to login, which I do. and then it says:

Last login Sun Jun 3 11:19:32 PDT 2012 on tty4
Welcome to ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64)

 * Documentation:

22 packages can be updated.
0 updates are security updates.


I want to just get back to my desktop and start using my computer again, what should I do, what code should I type? I am a noob with Ubuntu, so any code I will probably have to copy.

share|improve this question

The following command should help:

sudo service gdm restart

If you don't have root (sudo) permissions you might have to login as root instead and run the command without the sudo.

share|improve this answer
And how do I do that, as I said i'm very new to ubuntu – casey Jun 3 '12 at 18:43
You just type it after you log in and get the command line the (after this appears: casey@casey-computer:~$) – Purplerob Jun 3 '12 at 18:56
what do i type? root or sudo? – casey Jun 3 '12 at 18:57
the exact command in the grey box after you log in – Purplerob Jun 3 '12 at 19:00
alright I think i figured it out, i just typed "sudo reboot" thanks man – casey Jun 3 '12 at 19:02

Your Answer


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.