Created attachment 3960 proposed untested patch When $XDG_DESKTOP_HOME is set to $HOME (which is allowed in the spec in case you don't want a Desktop folder at all) xinitrc tries to delete $HOME when migrating Desktop. Fortunately rmdir fails because $Home is not empty. probably it should check for $HOME" != "$XDG_DESKTOP_DIR before migrating the desktop.
Add Christian, so he doesn't add another bug
You beat me to it. The patch looks correct to me. Here's the somewhat scary error log for reference, translated rmdir/ mv output: /etc/gdm/Xsession: Beginning session setup... /usr/bin/startxfce4: X server already running on display :0 Migrating /home/mechtilde/Desktop to /home/mechtilde/... rmdir: failed to remove "/home/mechtilde/": No permission mv: "/home/mechtilde/Desktop" and "/home/mechtilde/Desktop" are the same file Desktop migration failed ssh-agent is already running xfdesktop[2340]: starting up
Created attachment 3962 same goes for TEMPLATES still untested
Fixed in master and 4.8.
And also in xfce4-session, which is the new location of the script.
Hi. I don't see the file in xfce4-session, and the change does not seem to appear on http://git.xfce.org/xfce/xfce-utils/tree/scripts/xinitrc.in.in?id=xfce-utils-4.8.3 The bug is still there on my up to date Debian Wheezy (versions 4.8.3 of both xfce4-utils and xfce4-session) : /etc/xdg/xfce4/xinitrc does not have the patch applied, and I get the error message in ~/.xsession-errors It is not really a problem, but I thought it might be worth telling you.