[SOLVED]XFCE always starts with my last session

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
BigEasy
Level 6
Level 6
Posts: 1282
Joined: Mon Nov 24, 2014 9:17 am
Location: Chrząszczyżewoszyce, powiat Łękołody

[SOLVED]XFCE always starts with my last session

Post by BigEasy »

After upgraiding to Mint 18.* my XFCE always starts with my last session. I really have no idea how to disable such behaviour. Anybody knows? :)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Windows assumes I'm stupid but Linux demands proof of it
sammiev

Re: XFCE always starts with my last session

Post by sammiev »

When you goto shut down you will see just below the box Log Out - Restart - Shut Down, save session for future logins.

Remove the check mark from that box.
BigEasy
Level 6
Level 6
Posts: 1282
Joined: Mon Nov 24, 2014 9:17 am
Location: Chrząszczyżewoszyce, powiat Łękołody

Re: XFCE always starts with my last session

Post by BigEasy »

5 years since this check mark was removed :) And all saved session cleared.
After upgrading to MInt 18.* I choose display manager LightDM and choose Mint-X login window. May be there is some bug in both of them...
Windows assumes I'm stupid but Linux demands proof of it
User avatar
Pjotr
Level 24
Level 24
Posts: 20054
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: XFCE always starts with my last session

Post by Pjotr »

Wipe all old sessions with a terminal command:

Code: Select all

rm -r -v ~/.cache/sessions/*
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
BigEasy
Level 6
Level 6
Posts: 1282
Joined: Mon Nov 24, 2014 9:17 am
Location: Chrząszczyżewoszyce, powiat Łękołody

Re: XFCE always starts with my last session

Post by BigEasy »

Already done! But every time every session saved again and XFCE starting with saved session. Where and when I asked XFCE to do that?
Well, to shutdown my computer I press the keyboard key X86PowerOFF (executing command:xfce4-session-logout --halt). Everything working OK before some last times :)
Windows assumes I'm stupid but Linux demands proof of it
mr_raider
Level 7
Level 7
Posts: 1897
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: XFCE always starts with my last session

Post by mr_raider »

The option was moved into the settings app.
Image
mr_raider
Level 7
Level 7
Posts: 1897
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: XFCE always starts with my last session

Post by mr_raider »

mr_raider wrote:The option was moved into the settings app under session and startup.
Image
BigEasy
Level 6
Level 6
Posts: 1282
Joined: Mon Nov 24, 2014 9:17 am
Location: Chrząszczyżewoszyce, powiat Łękołody

Re: XFCE always starts with my last session

Post by BigEasy »

Yes I know, but their checkbox "automatically save session on logout" doesn't work for me. Session always saving regardless of checkbox condition.
Little worlaround I done: I replaced command for X86PowerOFF "xfce4-session-logout --halt" with "shutdown -h now". Now it works as planned :)
Thank you all!
Windows assumes I'm stupid but Linux demands proof of it
Locked

Return to “Xfce”