Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It just started today. I'm getting repeatedly logged out of Xubuntu. I have also had a new option come up after logging in that lets me load a session. I've just been loading default and I'd like to know how I can get rid of this screen as well as find out why I'm being logged out. I'm also noticing an error message everytime I get to the desktop that says "Invalid option: -session".

share|improve this question

I had this problem a couple of weeks ago. The "invalid option" window was created by spotify on my computer.

I just deleted my ~/.cache/sessions folder, which fixed it for me. (Actually I made a backup just in case). I've not noticed any adverse effects.

You can read more about sessions here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.