Resuming resets my session

Bug #1771716 reported by Nicolas_Raoul
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed 18.04 from scratch a day after it got released.

Twice per day I close the lid of my laptop and open it again after. Usually it immediately asks me for the password and brings me back to what I was doing.

But 3 times so far, it took a minute before showing me a login screen (like if I had not yet a session) asking me to choose my user (there is only one user), then enter my password. It then starts to load... and asks me for my password AGAIN. Then it shows my desktop, but everything I was doing before is gone, no more open windows. When I start Firefox it asks me whether I want to restore my tabs. When I open Byobu it shows my tabs as I left them.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xserver-xorg-core 2:1.19.6-1ubuntu4
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu May 17 11:27:19 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus: virtualbox, 5.2.10, 4.15.0-20-generic, x86_64: installed
ExecutablePath: /usr/lib/xorg/Xorg
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo HD Graphics 5500 [17aa:2223]
InstallationDate: Installed on 2018-04-29 (17 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: LENOVO 20CKCTO1WW
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-20-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/20/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N11ET34W (1.10 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20CKCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN11ET34W(1.10):bd08/20/2015:svnLENOVO:pn20CKCTO1WW:pvrThinkPadT550:rvnLENOVO:rn20CKCTO1WW:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T550
dmi.product.name: 20CKCTO1WW
dmi.product.version: ThinkPad T550
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like you have two bugs.

Asking for the password twice is bug 1765261.

But it sounds like you also have a crash causing your lost session so...

-----

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your bug report is missing crash details. In order to debug a crash we will need a crash report. To create one, please follow these steps:

1. If you are not running a future development release of Ubuntu then apply the workaround from bug 994921.
2. If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport.
3. If the crash is in Xorg then uncomment this option from /etc/gdm3/custom.conf:
   # Additionally lets the X server dump core if it crashes
   #Enable=true
4. Reboot.
5. Reproduce the crash.
6. Look in /var/crash for crash files and when found, run:
   ubuntu-bug /var/crash/YOURFILE.crash
7. Add a comment here telling us the ID of the new bug that was created in step 6.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments, and doing so is also a security risk for yourself.

Changed in xorg-server (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually asking for the password twice in "then enter my password. It then starts to load..." might also be another shell/session crash. Regardless, please follow the above instructions.

description: updated
Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

Thanks Daniel!
1. Done, commented out the line in /etc/apport/crashdb.conf
2. It was already set to enabled=1
3. Done, commented out the line in /etc/gdm3/custom.conf
4. Doing it after posting this
5. OK, I will continue next time the bug happens, it might take a week or so :-)

Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

The crash just happened again, and here are 3 fresh new files in my /var/crash, whose date matches exactly the time of the crash:

_usr_lib_xorg_Xorg.1000.crash
_usr_bin_Xwayland.120.crash
_usr_bin_gnome-shell.120.crash

About the first one I submitted this bug and marked it as a duplicate:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1772362

About the second one a bug already existed, confirmed with "Medium" importance:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1731911

About the third one I was told that I have out-of-date packages, I am updating now. Please note that this is a fresh install of the recently released 18.04, and updates are set to "weekly" so it can't be crazy old either :-)

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

[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-server (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Nicolas_Raoul (nicolas-raoul) wrote :

This keeps happening every two-three times I close then open my laptop's lid. It means I lose my work, running VMs, etc, about 3 times per work week.

If there is anything I can do to help solve this bug please let me know, thanks!

Changed in xorg-server (Ubuntu):
status: Expired → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the crash reports. This issue should be dealt with in those bugs since they contain the crash details.

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.