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
Please refer to ServerGUI.
The answer is to use this commands in terminal:
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.
X11 Server Installation
To install a minimal X11 on Ubuntu Server Edition enter the following: