XFCE4 Panel not loading

XFCE4 Panel not loading

For some odd reason my XFCE 4 panel decided it would stop loading.   I can start it manually by opening LXTerminal and typing xfce4-panel.  However this doesn’t solve the non auto-loading problem.

I did some digging and found a solution to this here.

Clearing the data in ~/.cache/sessions works however :

  1. Make sure you have fully cleared this,  there despite running rm *.* one file was left over and had to be deleted manually.
  2. Back up this folder BEFORE you delete the contents,  just to be on the safe side.

This should fix things.   No idea why this is happening though so it would be good to find out as it seems my LXDE panal is behaving in the same way.