Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed Ubuntu Server then did

sudo apt-get install --no-install-recommends ubuntu-desktop
startx

But the desktop is missing the icons/applets on the top right: shutdown, etc. I want the shutdown + network only for now. How do I add it back?

share|improve this question
2  
Out of curiosity, why are you putting a GUI on Ubuntu Server? –  Shauna Jun 23 '11 at 19:57
    
What version of Ubuntu? –  enzotib Jun 23 '11 at 20:04
    
@Shauna, I am new at that time to Linux/Ubuntu/Terminal at that time –  JM at Work Jun 28 '11 at 2:33
    
If you're looking to use Ubuntu for desktop, you're better off using the desktop version, especially if you're still learning the ropes. –  Shauna Jun 28 '11 at 12:31

2 Answers 2

up vote 3 down vote accepted
+50

The package responsible for the buttons in the right upper corner is indicator-session. In order to get the buttons displayed, you also need indicator-applet-complete. Install these packages it with:

sudo apt-get --no-install-recommends install indicator-applet-complete indicator-session

After the installation, you need to re-login in the graphical session.

I've verified this by removing all packages related to the Ubuntu desktop on an Ubuntu 11.04 Live CD and by installing the server using tasksel. After that, I did exactly what you did: installing ubuntu-desktop by running:

sudo apt-get --no-install-recommends install ubuntu-desktop

You should not start X directly through startx, rather run sudo start gdm.

share|improve this answer

The package related to this are indicator-session and indicator-applet-session.

share|improve this answer
    
I've tested it in a VM, it did not work. indicator-applet-session is a dependency of ubuntu-desktop and indicator-session is a recommends for indicator-applet-session. –  Lekensteyn Jun 23 '11 at 20:35

Your Answer

 
discard

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.