Xfce - Unable to load a failsafe session finally solved

This time I got this error after having installed Xfce on my parents' PC:

Unable to load failsafe session
Unable to determine a failsafe session name. Possible causes:
xfconfd isn't running (D-Bus setup problem);
environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc"),
or xfce4-session is installed incorrectly

I found some threads about this error where people suggested:
- Installing dbus
- Restarting dbus
- Fixing home folder permissions
- Reinstalling Xfce
and more...

None of the suggestions worked for me. Then I noticed a weird error in terminal that said something like:

mkdir: cannot create directory `/root/.config': Permission denied

I was pretty sure I was trying to start Xfce under a non-root user, though, so why would it use /root as my users home directory?

It turned out my user's $XDG_CONFIG_HOME variable was set to /home/root/.config, which was wrong, obviously.

Setting it to /home/myuser/.config solved the issue and let me start Xfce flawlessly again:

XDG_CONFIG_HOME=/home/myuser/.config

Not sure if it had to do with SLiM DM I installed earlier or something else.

About the authorMartin Boze is the Founder of MultiMerch Marketplace. I also love skydiving, motorcycles and space. And other cool things.

0 replies
  1. .bat
    .bat says:

    I kept Fedoro Remix OS in my raspberry's SD card, I got the same error.
    Can any one help me in this, In windows i know how to deal with environment variables.
    now how to sort, any option without formatting SD for a fresh image.

    Reply
  2. harry dillema
    harry dillema says:

    there's something wrong with the installation of this release - the time wasn't set properly either It seems that somehow the configuration variables during installation are not written away properly.

    Reply
  3. Anonymous
    Anonymous says:

    @affect, I see that you changed the dir name, but how did you get into terminal screen to do this? Do I have to re-firstboot and start up as a text instead of xfc ?? Thanks

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.