Ubuntu – How to start GUI from command line

bootcommand linegui

I've installed Ubuntu 12.04 32-bit on my machine. But when I switch on the computer, I get command line:

Ubuntu 12.04 LTS COMP-1245 tty1

And it prompts for username and password. Once I provide my username and password, it authenticates login and then displays a link to documentation.

Now, how can I start GUI? I'm stuck at command line.

Best Answer

If you tried the command startx, but the error command not found was returned, then to install a graphical desktop, in case it is not installed, you would type this:

sudo apt-get install ubuntu-desktop