1

I'm using xubuntu and recently I encounter this problem:
When the computer started up, a main window Files Manager appeared automatically and I don't why this happens. There are bunch of startup applications and I can't locate which one of them causes this.

Is there any solution? Thanks!

ChandlerQ
  • 207
  • 2
  • 8

2 Answers2

3

What you're experiencing is XFCE's automatic session saving. It will attempt to restore the session you had before logging out.

You can nuke the cached sessions with a quick rm -rf ~/.cache/sessions/* but for long-term disablement, there is another answer on the site that involves forcibly disabling it.

Chances are now that you know what to expect (if you leave windows open before you log out), you won't be so surprised and confused.

Oli
  • 293,335
1

In addition to Oli's answer, you can disable this feature once by using the following steps to shutdown instead of the normal shutdown menu entry:

  1. Click the "Logout" menu entry.
  2. Uncheck the "Save session for future logins" checkbox near the bottom.
  3. Click the type of operation (shutdown/reboot) which you'd like to do.

If you want this to be unchecked by default, use the following steps:

  1. Open XFCE's Setting Manager.
  2. Navigate to "Session and Startup", the 'General' tab.
  3. Uncheck “Automatically save session on logout”.

Reference:

  1. Some of my applications are always started when I login
kiri
  • 28,246
  • 16
  • 81
  • 118
  • Thanks for the reference! I feel very lucky to get help from someone who know exactly what I'm experiencing. – ChandlerQ Oct 28 '13 at 06:16