Desktop icons not showing up in xubuntu (and I cant right click on the desktop)

Solution 1:

Answered by OP in comments:

navigate to ~/.cache/sessions/

delete any xfce*session directories

run xfdesktop (as your normal user, not root)

logout and log in again

Solution 2:

I was having the same problem; xfdesktop (the XFCE desktop manager) should start up automatically, but from one day to another, it stopped doing so.
Symptoms: no wallpaper, no desktop icons, no desktop context menu, no response to Alt+F2.

The problem spontaneously disappeared after taking the following steps. Step 1 is probably sufficient, but since I can no longer reproduce the problem, there is no way of knowing for sure.

  1. rm -R ~/.cache/sessions/* (shell command) as suggested here
  2. log out and log in again (without rebooting in between); based on this post

Since cleaning the session cache is also suggested here, I suppose the problem may have been triggered by a repository update of XFCE.

Solution 3:

This command worked for me:

xfdesktop --replace