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

If I run 'gnome-control-center' and click on the 'User Accounts' icon, the gnome-control-center crashes.

I built it from source to see what's going on, and it turns out it's doing a

if (strcmp(getenv("XDG_CURRENT_DESKTOP"), "GNOME"))

in panels/user-accounts/um-password-dialog.c, line 690.

I don't have an environment variable "XDG_CURRENT_DESKTOP", so the getenv is returning NULL, and the strcmp is segfaulting

Where is XDG_CURRENT_DESKTOP meant to be defined? And shouldn't gnome-control-center check the pointer returned by getenv before passing it to strcmp?

Does xfce4 have its own 'User Accounts' tool for creating new users?


I was asked in a comment to run this:

chris@chris:~$ env | grep XDG
share|improve this question
I think there should be xdg. What do you get when you do env | grep XDG ? There are some commandline tool like useradd and adduser. – sagarchalise Mar 22 '12 at 4:42
I updated my question with the output from that command. I changed the session cookie. I also found that adding "export XDG_CURRENT_DESKTOP=" to my .xprofile allows me to use the GNOME user manager. – Chris Moore Mar 22 '12 at 6:02

Under XFCE, execute the command users-admin and you should get this: enter image description here

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.