When resuming from suspend, user session is closed

Bug #1727771 reported by indigocat
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When resuming from suspend, user session is closed.

Scenario:

I have open applications for work: Chromium, Emacs, etc. I'm using a laptop (ThinkPad T410s).

When I close the lid, system goes to suspend.
When opening the lid, system resumes.

Expected: my user session is active, only locked when resuming; all previously open applications have saved their state, so I can continue working.

What happens: my user session is closed, all my previously open applications are closed, I have lost everything that was not saved.

I recall having seen a bug report about this same problem back in 2011/2012, and it has not been solved, apparently.

The workaround suggested back then was to disable screen lock when suspending, to prevent this from happening when resuming.
This is akin to having a problematic door lock, and suggesting leaving your house door open to avoid issues.

ProblemType: Bug
DistroRelease: elementary 0.4.1 (based on Ubuntu 16.04 LTS)
Package: gnome-screensaver (not installed)
ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
Uname: Linux 4.4.0-97-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia wl
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CurrentDesktop: Pantheon
Date: Thu Oct 26 12:23:04 2017
InstallationDate: Installed on 2017-09-24 (31 days ago)
InstallationMedia: elementary OS 0.4.1 "Loki" - Stable amd64 (20170814)
SourcePackage: gnome-screensaver
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
indigocat (indigocat) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gnome-screensaver (Ubuntu):
status: New → Confirmed
Revision history for this message
indigocat (indigocat) wrote :

Hello,

are there any updates on this report?

Revision history for this message
indigocat (indigocat) wrote :

Any news?

Revision history for this message
indigocat (indigocat) wrote :

This bug means lost work, so it's a bit puzzling that it hasn't received any attention.

Revision history for this message
indigocat (indigocat) wrote :

BTW, it keeps on happening in 18.04.

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.