xfce4-session-logout --logout is automatically saving the session

Bug #1777914 reported by Paulo Marcel Coelho Aragão
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xfce4-session (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

xfce4-session-logout --logout is automatically saving the session, even though "Session and Startup -> General -> Logout Settings -> Automatically save session on logout" is not ticked. I'm attaching xfce4-session.xml to prove that xfce4 is not configured to automatically save the session.

It's very easy to reproduce:

1. Close all current programs
2. Open xfce4-terminal
3. Run: xfce4-session-logout --logout
4. Log back in: xfce4-terminal will have been opened again

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xfce4-session 4.12.1-3ubuntu3
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Jun 20 15:25:17 2018
InstallationDate: Installed on 2018-04-28 (53 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: xfce4-session
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paulo Marcel Coelho Aragão (marcelpaulo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xfce4-session (Ubuntu):
status: New → Confirmed
Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

According to the manual page, you should be using "xfce4-session-logout --logout --fast" to prevent session saving. Make sure to empty the session cache beforehand or it will be re-used.

Revision history for this message
Paulo Marcel Coelho Aragão (marcelpaulo) wrote :

Thanks for pointing that out, @lastonestanding. Indeed, I've just looked up option --fast in the manual:

This instructs the session manager not to save the session, but instead to quit everything quickly

So the default behavior is to save the session. Perhaps this should be explicitly stated in the man page, to avoid misunderstandings like mine.

I suppose this bug can be closed.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Feel free to forward ideas and improvements to the Xfce bug tracker.

https://bugzilla.xfce.org/

Changed in xfce4-session (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.