Here is a guide for those who installed Ubuntu 11.04 Server and would like to have a graphical user interface.
First update your system using the following command line:
sudo apt-get update
When your system is up to date you can install the GUI using this command line:
sudo apt-get install ubuntu-desktop
This command will install the GNOME desktop. If you want to install a graphical interface without all the desktop addons and other goodies that come with the Ubuntu Desktop edition you can install the “minimal” desktop. You can install the “minimal” desktop using this command line:
sudo apt-get install --no-install-recommends ubuntu-desktop
When the installation is finished reboot your system and if all went well you should now see a normal login screen and once you logged in you will have a normal looking desktop.
It’s also possible to install the XFCE (Xubuntu) and KDE (Kubuntu) desktop on your server. You can install it using one of the following commands:
For XFCE (Xubuntu)
sudo apt-get install xubuntu-desktop
For KDE (Kubuntu)
sudo apt-get install kubuntu-desktop