Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I have installed GUI in Ubuntu server using

sudo apt-get ubuntu-desktop --no installrecommends

I have started it using


I have accessed the home folder using(since there is no icons)


Is there any other way to open the home folder? If I restart my server will it automatically go to the GUI or the to the login prompt at the command line?

share|improve this question
Why did you use "--no installrecommends" ? You almost certainly need additional packages. Also why gnome-desktop ? If you need a graphical interface to manage your server you are far better off with a web based tool such as webmin. – bodhi.zazen May 30 '13 at 15:51

Open terminal and edit your system wide crontab.

sudo nano /etc/crontab

After last hash-tag enter and save the following line.

@reboot root lightdm

After several reboots, system seems to have no problems. And hopefully never will. Can't say for sure that this is the best solution...

share|improve this answer
What makes you think rebooting a number of times will fix anything ? – bodhi.zazen May 30 '13 at 15:52

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.