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.

As the title above, I am totally new to Linux. What I have now is a virtual hardisk with ubuntu and it started up as CLI. What I want to do is enable the graphic mode and able to switch it flexibly.

So, I wanted to install ubuntu-desktop due to the fact that Ubuntu only started in terminal mode and I couldn't get startx command to run too. The startx command ended up by open a CLI with white screen. Right now, I ran "sudo apt-get install ubuntu-desktop" but I dun know how to enable it or activate it.

Can anyone please kindly brief me about that? Between, my internet connection is bad, so that I wonder is there any alternative way in order to complete update or upgrade in this portion?

p/s: Currently my ubuntu ver is 12.04.1 and I dun think to have a clean install. Because I backup the ubuntu into virtual hardisk with some software well installed and also configured. The installers of those software are not with me. So what I can do is only troubleshooting or do some update or upgrade.

The snapshot on results of startx and Xorg.0.log attached as below:

Xorg.0.txt

enter image description here

share|improve this question

migrated from serverfault.com Aug 13 '12 at 15:42

This question came from our site for professional system and network administrators.

    
you want to install Ubuntu-desktop through CLI or just do an update. –  atenz Aug 13 '12 at 15:57
    
update, in order to switch to graphic mode. –  SƲmmēr Aƥ Aug 13 '12 at 17:16
    
I don't think the problem here really has anything to do with what packages are installed. That is, I think you have all the necessary software installed for a GUI, but that the GUI is just not working for some reason. How did you install Ubuntu? What version of Ubuntu did you install? What happens if you try to boot it with the nomodeset boot option? What happens if you run sudo start lightdm? Please edit your question again, to provide this information. –  Eliah Kagan Aug 13 '12 at 22:33
    
unknown job: lightdm. There is no installation. Instead, it is a virtual hardisk. How can I boot via nomodeset? Appreciate. –  SƲmmēr Aƥ Aug 14 '12 at 1:18

2 Answers 2

up vote 2 down vote accepted

I understand that you want to install this specific package (ubuntu-desktop) without an internet conection because yours it's slow.

Try to use the Ubuntu disc as a repository (to install the ubuntu-desktop package): insert your ubuntu disc to reader then type:

sudo apt-cdrom add

This should add it to the sources.list file. Leave the disc inside the disc reader and then try:

sudo apt-get update

sudo apt-get install ubuntu-desktop

If you type:

sudo apt-get upgrade

It will upgrade the whole system.

share|improve this answer
    
Ic, thanks for your sharing. Appreciate if you can assist me regarding to the portions that I updated above. –  SƲmmēr Aƥ Aug 13 '12 at 17:14
    
One thing I wonder is if I upgrade the ubuntu through cdrom, then after this, will I get the graphic mode? –  SƲmmēr Aƥ Aug 13 '12 at 17:16
    
If you want to upgrade using the disc, then why not do a clean install? I think it would be safer and better than reinstall over your actual system. The ubuntu-desktop package should be installed by default and it will give you the hability to access through GUI. Obviously the startx command only can be used after installing the ubuntu-desktop package. –  blackedx Aug 13 '12 at 23:25
    
Update your question with more info such as your current OS version and the one you want to upgrade. –  blackedx Aug 13 '12 at 23:32
    
On a regular ubuntu installation, the easy way to switch between the CLI and GUI is pressing one of the following shortcuts: For use one of the six terminals: Ctrl+Alt+F1, Ctrl+Alt+F2, Ctrl+Alt+F3, Ctrl+Alt+F4, Ctrl+Alt+F5 or Ctrl+Alt+F6 To use the GUI: Ctrl+Alt+F7 –  blackedx Aug 13 '12 at 23:46

You should update using terminal window with sudo apt-get update and then sudo apt-get upgrade.

share|improve this answer
    
this one requires internet connection isn't? –  SƲmmēr Aƥ Aug 13 '12 at 15:55
    
yes it does require internet connection , do you already have Ubuntu desktop installed or Ubuntu server . Try to add that info in Question. –  atenz Aug 13 '12 at 15:58
    
Actually quite complicated for my case as I researched through many sites and did many steps to fix it. But unfortunately, failed at the last. You can refer my edited post for further details. Much Appreciate. –  SƲmmēr Aƥ Aug 13 '12 at 17:13

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.