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.

Under /usr/share/gnome-session/sessions are files which describe the different types of sessions available from gnome-session. In these files is a list of required components, eg for shell:


or for fallback:


This appears to be a list of executables, but it is not. If I change gnome-panel to some other type of panel, the session does not start, and I see the following errors in ~/.xsession-errors:

gnome-session[2003]: WARNING: Unable to find required component 'xfce4-panel'

So my question: What is a component, how are they defined, and where does gnome-session look for them?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

A component is defined in a .desktop like a normal application. It must also include a key defining the name of the component it provides such as:


Here "panel" is the name of the component.

This is documented at https://wiki.gnome.org/SessionManagement/RequiredComponents

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.