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
  • 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

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.