Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'm using Ubuntu 10.04 and during my tries to free space I've removed several packages such as: openoffice, all editors, and some more packages such as players and printers drivers that I don't need and seem o.k to remove. However, after restart, the graphical interface doesn't load, I'm in the xserver, I have console but not gui. I was wondering if anyone can tell me which packages I should not remove or let me know of dependencies I need to consider when messing with packages?


share|improve this question
If your on a terminal/console, then X didn't load. – Bobby Jan 5 '11 at 12:08
when I try running startx, it says it's already running – Forge Jan 5 '11 at 12:15
We may be able to help you better if we know which packages are missing. Consider adding the output of sudo apt-get install -s ubuntu-desktop-minimal to your question. – oKtosiTe Jan 5 '11 at 21:38
up vote 2 down vote accepted

Generally you'd want to leave packages like xorg-* and gnome-session alone.

You could probably undo most of the damage by installing the ubuntu-desktop or ubuntu-desktop-minimal meta-package.
To simply get a listing of the missing packages without actually doing anything:

sudo apt-get install -s ubuntu-desktop
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.