I have looked at the problem a bit closer and things is, lightdm works fine for a while, but eventually it has some kernel package problems:
sep 16 09:09:47 weird-stuff lightdm[1193]: gkr-pam: stashed password to try later in open session sep 16 09:09:47 weird-stuff lightdm[1193]: gkr-pam: stashed password to try later in open session sep 16 09:09:47 weird-stuff lightdm[1193]: pam_unix(lightdm:session): session opened for user attila by (uid=0) sep 16 09:09:47 weird-stuff lightdm[1193]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring sep 16 09:20:35 weird-stuff systemd[1]: Stopping Light Display Manager... sep 16 09:20:40 weird-stuff lightdm[4045]: Error: can't open /lib/modules/5.4.0-47-generic/updates/dkms sep 16 09:20:40 weird-stuff lightdm[4045]: Error: can't open /lib/modules/5.4.0-47-generic/updates/dkms sep 16 09:20:40 weird-stuff systemd[1]: lightdm.service: Succeeded. sep 16 09:20:40 weird-stuff systemd[1]: Stopped Light Display Manager. sep 16 09:20:40 weird-stuff systemd[1]: Starting Light Display Manager... sep 16 09:20:40 weird-stuff lightdm[4095]: Seat type 'xlocal' is deprecated, use 'type=local' instead sep 16 09:20:40 weird-stuff systemd[1]: Started Light Display Manager. sep 16 09:20:41 weird-stuff lightdm[4118]: Error: can't open /lib/modules/5.4.0-47-generic/updates/dkms sep 16 09:20:41 weird-stuff lightdm[4118]: Error: can't open /lib/modules/5.4.0-47-generic/updates/dkms sep 16 09:20:41 weird-stuff systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE sep 16 09:20:41 weird-stuff systemd[1]: lightdm.service: Failed with result 'exit-code'. sep 16 09:20:41 weird-stuff systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1. sep 16 09:20:41 weird-stuff systemd[1]: Stopped Light Display Manager. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1655348 Title: gpu-manager Error: can't open /lib/modules/ Status in ubuntu-drivers-common package in Ubuntu: Confirmed Bug description: At least once a day there is an unexpected desktop freeze incl. mouse and keyboard. Even magic-sys-rq isn't possible, only hard switch-off. From smartmontools I can exclude a hardware failure. I've found that gpu-manager and systemd fail to load kernel modules. This is among the output of journalctl | grep modules Jan 10 13:12:34 systemd[1]: systemd-modules-load.service: Unit entered failed state. Jan 10 13:12:34 systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. Jan 10 13:12:49 gpu-manager[791]: Error: can't open /lib/modules/4.4.0-57-generic/updates/dkms Jan 10 13:12:49 gpu-manager[791]: Error: can't open /lib/modules/4.4.0-57-generic/updates/dkms (terminal-output attached) dito with latest kernel Jan 11 07:53:04 gpu-manager[786]: Error: can't open /lib/modules/4.4.0-59-generic/updates/dkms Jan 11 07:53:04 gpu-manager[786]: Error: can't open /lib/modules/4.4.0-59-generic/updates/dkms ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-drivers-common 1:0.4.17.2 ProcVersionSignature: Ubuntu 4.4.0-57.78-generic 4.4.35 Uname: Linux 4.4.0-57-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.4 Architecture: amd64 CurrentDesktop: Unity Date: Tue Jan 10 14:37:00 2017 InstallationDate: Installed on 2012-02-05 (1801 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120204) SourcePackage: ubuntu-drivers-common UpgradeStatus: Upgraded to xenial on 2016-08-01 (162 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1655348/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

