rm -dvRf /home/nl/.cache/sessions/*
A bash file placed in "/home/user/" will make running this, if your problem repeats, stupid easy.
Next time it happens: ctr+alt+t and type "bash -insert what name you gave it- " press enter, and your done.
Also if this is one too many steps for your future self you can make a .desktop that will run the bash. One click, and your problem will go away.
copy this into a .txt file and save it as -insert what name you gave it- .desktop should look like "fix.desktop" while you're saving.
Name=-insert what name you gave it-
Comment=fix your desktop
Exec=bash -insert what name you gave it-
Icon=/usr/share/icons/-whatever you like for its icon-
AND if that one click is STILL to much for future you, once you have the .desktop file you can open your start up applications and add it to the list of applications that start when you login, causing it to run every time you log in, and preventing you from ever needing to deal with this again...