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

My 12.04 x64 system won't boot into GUI, but I can still use virtual console with my own account, so apparently it's the Windows Management System that's causing it, how can I reinstall it from tty, what's the apt-get command?

share|improve this question
up vote 28 down vote accepted

Please refer to ServerGUI.

The answer is to use this commands in terminal:

sudo apt-get install xorg openbox
share|improve this answer

X11 Client Installation

To do this, install the xauth pachage, then simply install the applications you need, and apt-get will bring in other packages as needed to satisfy the dependencies.

sudo apt-get install xauth

X11 Server Installation

To install a minimal X11 on Ubuntu Server Edition enter the following:

sudo apt-get install xorg
sudo apt-get install openbox
share|improve this answer

If you certainly have run into this problem , simply type in the following commands:

sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install fxlrg
sudo apt-get install xserver-xorg-core
sudo apt-get install xserver-xorg
sudo apt-get install xorg
sudo apt-get install xorg openbox
sudo apt-get install ubuntu-desktop

and you are good to go. The statements from top to bottom are dependencies to the statements after them.

share|improve this answer

I solved the problem using:

sudo aptitude install xorg

then say 'yes' to the updates.

share|improve this answer

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.