Suspention does not restore the session

If none of the more specific forums is the right place to ask

Suspention does not restore the session

Postby GonzaloP » 2020-01-09 10:49

Hi,

When I type
Code: Select all
systemctl suspend
the laptop hibernates but for the last 4 days it stopped restoring the session, basically when waking up I just have to start a new session. I am running Debian 10 (4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux)
Any suggestions on how to fix it?

Thanks
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13

Re: Suspention does not restore the session

Postby Head_on_a_Stick » 2020-01-09 14:14

Check the logs.
User avatar
Head_on_a_Stick
 
Posts: 11021
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suspention does not restore the session

Postby GonzaloP » 2020-01-09 23:53

/var/log/user.log

Says after resuming:

Jan 9 21:36:48 Debian gnome-software[21583]: Failed to find one package for phpmyadmin.desktop, /usr/share/applications/phpmyadmin.desktop, [0]
Jan 9 21:36:49 Debian geoclue[1318]: invalid unclassed pointer in cast to 'GClueWifi'
Jan 9 21:36:54 Debian geoclue[1318]: Service not used for 60 seconds. Shutting down..
Jan 9 21:36:55 Debian tracker-miner-f[21580]: (Sparql buffer) Error in task 0 (file:///home/USERNAME) of the array-update: UNIQUE constraint failed: nie:DataObject.nie:url
Jan 9 21:36:55 Debian tracker-miner-f[21580]: Could not execute sparql: UNIQUE constraint failed: nie:DataObject.nie:url
Jan 9 21:36:55 Debian tracker-miner-f[21580]: Parent 'file:///home/USERNAME' not indexed yet


Is there a fix for tracker-miner?

Thanks!
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13

Re: Suspention does not restore the session

Postby Head_on_a_Stick » 2020-01-10 15:06

I don't think tracker-miner is the problem here, those errors are probably coincidental.

If stuff worked before but doesn't now then perhaps a package upgrade has broken things.

Can we see
Code: Select all
apt policy

PEBKAC is rife on these boards :mrgreen:
User avatar
Head_on_a_Stick
 
Posts: 11021
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suspention does not restore the session

Postby GonzaloP » 2020-01-10 20:09

@Head_on_a_Stick, thanks for the response, here is my apt policy:

Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.yarnpkg.com/debian stable/main all Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=all
origin dl.yarnpkg.com
500 https://dl.yarnpkg.com/debian stable/main i386 Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=i386
origin dl.yarnpkg.com
500 https://dl.yarnpkg.com/debian stable/main amd64 Packages
release o=yarn,a=stable,n=stable,l=yarn-stable,c=main,b=amd64
origin dl.yarnpkg.com
500 http://ppa.launchpad.net/wereturtle/ppa/ubuntu eoan/main i386 Packages
release v=19.10,o=LP-PPA-wereturtle,a=eoan,n=eoan,l=wereturtle package archive,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/wereturtle/ppa/ubuntu eoan/main amd64 Packages
release v=19.10,o=LP-PPA-wereturtle,a=eoan,n=eoan,l=wereturtle package archive,c=main,b=amd64
origin ppa.launchpad.net
500 https://ocean.surfshark.com/debian stretch/main i386 Packages
release o=Surfshark,n=stretch,l=Surfshark packages,c=main,b=i386
origin ocean.surfshark.com
500 https://ocean.surfshark.com/debian stretch/main amd64 Packages
release o=Surfshark,n=stretch,l=Surfshark packages,c=main,b=amd64
origin ocean.surfshark.com
500 https://download.sublimetext.com apt/stable/ Packages
release o=Sublime Text,a=apt/stable,l=Sublime Text APT Repository,c=
origin download.sublimetext.com
500 http://repo.steampowered.com/steam precise/steam i386 Packages
release o=Valve Software LLC,n=precise,l=Steam,c=steam,b=i386
origin repo.steampowered.com
500 http://repo.steampowered.com/steam precise/steam amd64 Packages
release o=Valve Software LLC,n=precise,l=Steam,c=steam,b=amd64
origin repo.steampowered.com
500 http://repository.spotify.com stable/non-free i386 Packages
release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=i386
origin repository.spotify.com
500 http://repository.spotify.com stable/non-free amd64 Packages
release v=0.4,o=Spotify LTD,a=stable,n=stable,l=Spotify Public Repository,c=non-free,b=amd64
origin repository.spotify.com
500 http://ppa.launchpad.net/smathot/cogscinl/ubuntu disco/main i386 Packages
release v=19.04,o=LP-PPA-smathot-cogscinl,a=disco,n=disco,l=Cogsci.nl PPA,c=main,b=i386
origin ppa.launchpad.net
500 http://ppa.launchpad.net/smathot/cogscinl/ubuntu disco/main amd64 Packages
release v=19.04,o=LP-PPA-smathot-cogscinl,a=disco,n=disco,l=Cogsci.nl PPA,c=main,b=amd64
origin ppa.launchpad.net
500 https://repo.skype.com/deb stable/main amd64 Packages
release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
origin repo.skype.com
500 https://deb.opera.com/opera-stable stable/non-free i386 Packages
release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=i386
origin deb.opera.com
500 https://deb.opera.com/opera-stable stable/non-free amd64 Packages
release o=Opera Software AS,a=stable,n=stable,l=The Opera web browser,c=non-free,b=amd64
origin deb.opera.com
500 https://deb.nodesource.com/node_11.x stretch/main amd64 Packages
release o=Node Source,n=stretch,l=Node Source,c=main,b=amd64
origin deb.nodesource.com
500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 https://download.virtualbox.org/virtualbox/debian buster/contrib amd64 Packages
release o=Oracle Corporation,n=buster,l=Oracle Corporation,c=contrib,b=amd64
origin download.virtualbox.org
500 https://download.docker.com/linux/debian buster/stable amd64 Packages
release o=Docker,a=buster,l=Docker CE,c=stable,b=amd64
origin download.docker.com
100 http://httpredir.debian.org/debian buster-backports/non-free i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=i386
origin httpredir.debian.org
100 http://httpredir.debian.org/debian buster-backports/non-free amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=amd64
origin httpredir.debian.org
100 http://httpredir.debian.org/debian buster-backports/contrib i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=i386
origin httpredir.debian.org
100 http://httpredir.debian.org/debian buster-backports/contrib amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64
origin httpredir.debian.org
100 http://httpredir.debian.org/debian buster-backports/main i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
origin httpredir.debian.org
100 http://httpredir.debian.org/debian buster-backports/main amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
origin httpredir.debian.org
500 http://deb.debian.org/debian buster-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://security.debian.org/debian-security buster/updates/non-free i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=i386
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian buster/contrib i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/contrib amd64 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/non-free i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/non-free amd64 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/main i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/main amd64 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13


Re: Suspention does not restore the session

Postby GonzaloP » 2020-01-11 01:06

It seems to be a problem related to the session in Gnome, because when I resume the session I log in, and then the username/password screen comes up again and the second time I enter my password I am able to access with a fresh session.

Any idea what could be causing the problem?
Thanks
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13

Re: Suspention does not restore the session

Postby Head_on_a_Stick » 2020-01-11 12:14

GonzaloP wrote:Any idea what could be causing the problem?

All the non-Debian repositories you have added. Read the first link in my signature.

Find all of the errant packages with
Code: Select all
aptitude search '?narrow(?installed, !?origin(debian))'

Removing them and cleaning your sources might fix things.
User avatar
Head_on_a_Stick
 
Posts: 11021
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suspention does not restore the session

Postby GonzaloP » 2020-01-11 19:07

I got the following list, so you think one of these is causing issues?

Code: Select all
i A containerd.io                                - An open and reliable container runtime               
i A cpp-6                                        - GNU C preprocessor                                   
i   dbeaver-ce                                   - DBeaver Community                                     
i   discord                                      - All-in-one voice and text chat for gamers             
i   docker-ce                                    - Docker: the open-source application container engine 
i A docker-ce-cli                                - Docker CLI: the open-source application container engi
i A gcc-6                                        - GNU C compiler                                       
i   gcc-6-base                                   - GCC, the GNU Compiler Collection (base package)       
i A gcc-6-base:i386                              - GCC, the GNU Compiler Collection (base package)       
i A gcj-6-jre                                    - Java runtime environment using GIJ/Classpath         
i A gcj-6-jre-headless                           - Java runtime environment using GIJ/Classpath (headless
i A gcj-6-jre-lib                                - Java runtime library for use with gcj (jar files)     
i A gcj-jre                                      - Java runtime environment using GIJ/Classpath         
i A gcj-jre-headless                             - Java runtime environment using GIJ/Classpath (headless
i A gir1.2-gnomekeyring-1.0                      - GNOME keyring services library - introspection data   
i   git-core                                     - fast, scalable, distributed revision control system (o
i   google-chrome-stable                         - The web browser from Google                           
i A libapache2-mod-php7.0                        - server-side, HTML-embedded scripting language (Apache
i A libasan3                                     - AddressSanitizer -- a fast memory error detector     
i A libavcodec57                                 - FFmpeg library with de/encoders for audio/video codecs
i A libavformat57                                - FFmpeg library with (de)muxers for multimedia containe
i A libavutil55                                  - FFmpeg library with functions for simplifying programm
i A libbluray1                                   - Blu-ray disc playback support library (shared library)
i   libcryptsetup4                               - disk encryption support - shared library             
i   libdns-export162                             - Exported DNS Shared Library                           
i A libgcc-6-dev                                 - GCC support library (development files)               
i A libgcj-common                                - Java runtime library (common files)                   
i A libgcj17                                     - Java runtime library for use with gcj                 
i A libgcj17-awt                                 - AWT peer runtime libraries for use with gcj           
i   libgdbm3                                     - GNU dbm database routines (runtime version)           
i A libgnome-keyring-common                      - GNOME keyring services library - data files           
i A libgnome-keyring0                            - GNOME keyring services library                       
i   libisc-export160                             - Exported ISC Shared Library                           
i A libisl15                                     - manipulating sets and relations of integer points boun
i   liblogging-stdlog0                           - easy to use and lightweight logging library           
i A libmpfr4                                     - multiple precision floating-point computation         
i   libobasis6.1-base                            - Base module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-calc                            - Calc module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-core                            - Core module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-draw                            - Draw module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-en-us                           - Language module for LibreOffice 6.1, language en_US .4
i   libobasis6.1-extension-beanshell-script-prov - Script provider for BeanShell extension for LibreOffic
i   libobasis6.1-extension-javascript-script-pro - Script provider for JavaScript extension for LibreOffi
i   libobasis6.1-extension-mediawiki-publisher   - MediaWiki publisher extension for LibreOffice 6.1 .4.2
i   libobasis6.1-extension-nlpsolver             - NLPSolver extension for LibreOffice 6.1 .4.2         
i   libobasis6.1-extension-pdf-import            - PDF import extension for LibreOffice 6.1 .4.2         
i   libobasis6.1-extension-report-builder        - Report Builder extension for LibreOffice 6.1 .4.2     
i   libobasis6.1-firebird                        - Firebird module for LibreOffice 6.1 .4.2             
i   libobasis6.1-gnome-integration               - Gnome integration module for LibreOffice 6.1 .4.2     
i   libobasis6.1-graphicfilter                   - Graphic filter module for LibreOffice 6.1 .4.2       
i   libobasis6.1-images                          - Images module for LibreOffice 6.1 .4.2               
i   libobasis6.1-impress                         - Impress module for LibreOffice 6.1 .4.2               
i   libobasis6.1-kde-integration                 - KDE integration module for LibreOffice 6.1 .4.2       
i   libobasis6.1-librelogo                       - LibreLogo toolbar for LibreOffice 6.1 Writer .4.2     
i   libobasis6.1-libreofficekit-data             - Libreofficekit data files for LibreOffice 6.1 .4.2   
i   libobasis6.1-math                            - Math module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-ogltrans                        - OpenGL slide transitions module for LibreOffice 6.1 .4
i   libobasis6.1-onlineupdate                    - Online update module for LibreOffice 6.1 .4.2         
i   libobasis6.1-ooofonts                        - 3rd party free fonts for LibreOffice 6.1 .4.2         
i   libobasis6.1-ooolinguistic                   - Linguistic module for LibreOffice 6.1 .4.2           
i   libobasis6.1-postgresql-sdbc                 - PostgreSQL Connector driver for LibreOffice 6.1 .4.2 
i   libobasis6.1-python-script-provider          - Script provider for Python for LibreOffice 6.1 .4.2   
i   libobasis6.1-pyuno                           - Pyuno module for LibreOffice 6.1 .4.2                 
i   libobasis6.1-writer                          - Writer module for LibreOffice 6.1 .4.2               
i   libobasis6.1-xsltfilter                      - XSLT filter samples module for LibreOffice 6.1 .4.2   
i   libprocps6                                   - library for accessing process information from /proc 
i   libreoffice6.1                               - Brand module for LibreOffice 6.1 .4.2                 
i   libreoffice6.1-base                          - Base brand module for LibreOffice 6.1 .4.2           
i   libreoffice6.1-calc                          - Calc brand module for LibreOffice 6.1 .4.2           
i   libreoffice6.1-debian-menus                  - LibreOffice 6.1 desktop integration                   
i   libreoffice6.1-dict-en                       - En dictionary for LibreOffice 6.1 .4.2               
i   libreoffice6.1-dict-es                       - Es dictionary for LibreOffice 6.1 .4.2               
i   libreoffice6.1-dict-fr                       - Fr dictionary for LibreOffice 6.1 .4.2               
i   libreoffice6.1-draw                          - Draw brand module for LibreOffice 6.1 .4.2           
i   libreoffice6.1-en-us                         - Brand language module for LibreOffice 6.1 .4.2       
i   libreoffice6.1-impress                       - Impress brand module for LibreOffice 6.1 .4.2         
i   libreoffice6.1-math                          - Math brand module for LibreOffice 6.1 .4.2           
i   libreoffice6.1-ure                           - UNO Runtime Environment .4.2                         
i   libreoffice6.1-writer                        - Writer brand module for LibreOffice 6.1 .4.2         
i A libsndio6.1                                  - Small audio and MIDI framework from OpenBSD, runtime l
i   libssl1.0.2                                  - Secure Sockets Layer toolkit - shared libraries       
i A libswresample2                               - FFmpeg library for audio resampling, rematrixing etc.
i   libunistring0                                - Unicode string library for C                         
i A libva-drm1                                   - Video Acceleration (VA) API for Linux -- DRM runtime 
i A libva-x11-1                                  - Video Acceleration (VA) API for Linux -- X11 runtime 
i A libva1                                       - Video Acceleration (VA) API for Linux -- runtime     
i A libvpx4                                      - VP8 and VP9 video codec (shared library)             
i A libwebpmux2                                  - Lossy compression of digital photographic images.     
i A libx264-148                                  - x264 video coding library                             
i A libx265-95                                   - H.265/HEVC video stream encoder (shared library)     
i A linux-compiler-gcc-6-x86                     - Compiler for Linux on x86 (meta-package)             
i A linux-headers-4.9.0-11-amd64                 - Header files for Linux 4.9.0-11-amd64                 
i A linux-headers-4.9.0-11-common                - Common header files for Linux 4.9.0-11               
i   linux-headers-4.9.0-8-amd64                  - Header files for Linux 4.9.0-8-amd64                 
i A linux-headers-4.9.0-8-common                 - Common header files for Linux 4.9.0-8                 
i A linux-image-4.9.0-11-amd64                   - Linux 4.9 for 64-bit PCs                             
i A linux-kbuild-4.9                             - Kbuild infrastructure for Linux 4.9                   
i   messengerfordesktop                          - A simple & beautiful desktop client for Facebook Messe
i   nodejs                                       - Node.js event-based server-side javascript engine     
i A openjdk-8-jre-headless                       - OpenJDK Java runtime, using Hotspot JIT (headless)   
i   perl-modules-5.24                            - Core Perl modules                                     
i A php-tcpdf                                    - PHP class for generating PDF files on-the-fly         
i A php7.0                                       - server-side, HTML-embedded scripting language (metapac
i A php7.0-bz2                                   - bzip2 module for PHP                                 
i A php7.0-cli                                   - command-line interpreter for the PHP scripting languag
i A php7.0-common                                - documentation, examples and common module for PHP     
i A php7.0-gd                                    - GD module for PHP                                     
i A php7.0-json                                  - JSON module for PHP                                   
i A php7.0-mbstring                              - MBSTRING module for PHP                               
i A php7.0-opcache                               - Zend OpCache module for PHP                           
i A php7.0-readline                              - readline module for PHP                               
i A php7.0-xml                                   - DOM, SimpleXML, WDDX, XML, and XSL module for PHP     
i A php7.0-zip                                   - Zip module for PHP                                   
i   phpmyadmin                                   - MySQL web administration tool                         
i   realvnc-vnc-viewer                           - VNC® Viewer                                           
i   scrivener                                    - Scrivener is a powerful content-generation tool for wr
i   skypeforlinux                                - Skype keeps the world talking, for free.             
i   spotify-client                               - Spotify streaming music client                       
i   sublime-text                                 - Sublime Text is a sophisticated text editor for code,
i   surfshark-release                            - Setup of debian repository and signature file         
i   surfshark-vpn                                - Surfshark VPN client                                 
i A transfig                                     - transitional dummy package for fig2dev               
i   tusk                                         - Refined Evernote desktop app                         
i   webtorrent-desktop                           - WebTorrent, the streaming torrent client. For Mac, Win
i   winusb                                       - WinUSB dummy package                                 
i   woeusb                                       - Bootable Windows installation/PE USB storage creator 
i   yarn                                         - Fast, reliable, and secure dependency management.     
i   zoom                                         - Zoom, #1 Video Conferencing and Web Conferencing Servi
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13

Re: Suspention does not restore the session

Postby Head_on_a_Stick » 2020-01-11 19:57

GonzaloP wrote:so you think one of these is causing issues?

No. I think all of those may be causing issues. Remove them.
User avatar
Head_on_a_Stick
 
Posts: 11021
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suspention does not restore the session

Postby GonzaloP » 2020-01-14 01:41

The error that I am getting when hibernating is:

Code: Select all
[drm:intel_enable_shared_dp11  [i915] *ERROR* DPLL 1 not locked


I saw that someone reported it as a gnome bug, is it possible to install the patch? or I have to wait to the next release?
GonzaloP
 
Posts: 29
Joined: 2015-10-23 17:13


Return to General Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable