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 must have done something especially stupid, but I observe the following behavior:

  1. When I start gdm, I see the "Warning: unable to load /etc/gdm/custom.conf: file not found" message.
  2. My GDM session list contains only to basic sessions (an empty one and an xterm one) available in /usr/share/xsessions.

My question is: what exactly have I broken and how do I bring Unity xsession config back? If it's as simple as copying a file into /usr/share/xsessions, I'd be grateful if someone posted a working unity config here, since when I launch Unity from xterm with simply unity, none of my settings are applied. Thanks!

share|improve this question
up vote 6 down vote accepted

Try reinstalling the gnome-session package:

sudo apt-get install --reinstall gnome-session
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.