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.

This question already has an answer here:

I've installed the following version of ubuntu om my machine.

ubuntu-13.04-server-amd64.iso

But when I switch on the computer now, I get command line;

Ubuntu 13.04 ubuntu tty1

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

Now, how can I start GUI? I'm stuck at command line? boot command-line gui

share|improve this question

marked as duplicate by AgentCool, Eric Carvalho, user68186, Thomas W., Stephen Myall May 24 '13 at 15:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Ubuntu Server is cli & Ubuntu Desktop is GUI, So you need to download the right version...Asad sahb zara dekh kr download krn kon sa version kr liya hai –  Qasim May 24 '13 at 13:15
2  
Check that other question, but simply, you need to run sudo apt-get install ubuntu-desktop (it would be a good idea to run sudo apt-get update first though) –  Dan May 24 '13 at 13:15
1  
@Qasim if the OP doesn't want to re-install the whole OS, he only needs to install the right packages, which i believe are all offered part of the ubuntu-desktop meta-package –  Dan May 24 '13 at 13:17
    
sudo apt-get install ubuntu-desktop –  Qasim May 24 '13 at 13:20

1 Answer 1

Try the command :

startx

This will work only if you have :

  • an X display manager like gdm on your server
  • if you are connected on server with ssh, you must start ssh with the -X option
share|improve this answer
1  
I typed startx but the result is currently not installed .the i typed "sudo apt-get install xinit' the result was "E :unable to locate package xinit" .I am first time using ubuntu so please tell me in detail about X. –  asad May 24 '13 at 13:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.